Configure Security Policies

Configure Security Polices

The Configure Security Policies interface allows you to configure your security policy options and security policy extensions.

Notes:

  • When you attempt to log in from an unverified IP address and successfully answer your security questions, the system automatically adds the IP address to the list of verified IP addresses.

  • If you configure your own security questions, and then immediately enable the Limit logins to verified IP addresses setting in this interface, the system automatically adds your IP address to the list of verified IP addresses.

Security Policy Items

Select the following checkboxes to help secure your server:

Option
Description
Limit logins to verified IP addresses

This option determines whether to require users to answer security questions when they log in to their cPanel, Webmail, and WHM accounts from unverified IP addresses.

Notes:

  • When a user successfully answers the required security questions, the system automatically adds the user's current IP address to the list of verified IP addresses.
  • WHM users can add verified IP addresses and configure security questions in WHM's Security Questionsinterface (Home >> Security Center >> Security Questions).
  • After you enable this option, cPanel users can add verified IP addresses and configure security questions in cPanel's Security Policy interface (Home >> Security >> Security Policy).

 

Two-Factor Authentication: Google Authenticator

This option determines whether to require users additionally enter a generated security code provided by a time-based one-time password (TOTP) app on a smartphone.

Note:

To configure the two-factor authentication settings, use WHM's Two-Factor Authentication interface (Home >> Security Center >> Two-Factor Authentication)

Password Strength

This option enforces a minimum password strength for cPanel, Webmail, and WHM users.

Note:

To modify the minimum password strength, use WHM's Password Strength Configuration interface (Home >> Security Center >> Password Strength Configuration).

 

Password Age

This option allows you to specify the number of days to allow cPanel, Webmail, and WHM users to use the same password.

When you select this checkbox, the Maximum password age (in days) text box appears. Enter the maximum number of days to allow users to use the same password.

Security Policy Extensions

The Security Policy Extensions options apply your security policy to WHM API requests and DNS cluster requests.

Enable the following options to help secure your server:

Option
Description
XML-API and JSON-API requests Select this checkbox to apply the Security Policy Items settings to WHM API requests. If you enable this option, the policies that you set apply to any user who attempts to call a WHM API function.
DNS Cluster requests Select this checkbox to apply the Security Policy Items settings to DNS cluster requests. If you enable this option, the policies that you set apply to any user who attempts to make a DNS cluster request.

Disable security questions via SSH

To disable security questions via the command line, perform the following steps:

  1. Use SSH to log in to your server as the root user.

  2. Open the /var/cpanel/cpanel.config file in your preferred text editor.

  3. Change the value of the SecurityPolicy::SourceIPCheck option to 0.

  4. Save and exit the file.

  5. Run the /scripts/restartsrv cpanel command to restart cPanel & WHM.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Apache mod_userdir Tweak

Apache mod_userdir Tweak The Apache mod_userdir Tweak interface allows you to prevent...

Compiler Access

Compiler Access This interface allows you to disable your users' access to the C and C++...

cPHulk Brute Force Protection

cPHulK Brute Force Protection This interface allows you to configure cPHulk, a service that...

Host Access Control

Host Access Control Warning: If you accidentally lock yourself out of WHM when you use this...

Manage root's SSH Keys

Manage root's SSH Keys This interface allows you to add, import, and manage the SSH keys on your...