Magento 2 Secure Your Admin
It is important to ensure and upgrade the security of your administration. Hence, you should manage the setting to Secure Your Admin to protect your system as well as to suit the characteristics of your store. To help you understand about the security function that Magento 2 supplies, let me instruct you how to find and configure admin security effectively.
Related topics
- 62% stores have vulnerability and 14% stores have 4+ security issues, see why
- Security Checklist
- Secure Your Admin
- Quick login without password
- How To Stop Brute Force Attacks
Secure Your Admin in Magento 2
- Step 1: Go to the Security tab
- Step 2: Set options for the Security section
- Step 3: Save the customization
Step 1: Go to the Security tab
- On the Admin sidebar, click
Stores > Settings > Configuration. - In the panel on the left, choose
Advanced > Admin > Security.
Step 2: Set options for the Security section
- In the Add Secret Key to URLs field, leave “Yes” as in default to enable a secret key to Admin URLs or choose “No” to disable it. Because Secret Key is useful for preventing CSRF (Cross-site request forgery) Attack, it is recommended to be activated.
- In the Login is Case Sensitive field, select “Yes” to recognize the difference between upper and lowercase characters then demand the user to login with the exact account name and password.
- In the Admin Session Lifetime (seconds) field, enter a number which is required to be greater than 60 to determine the time that a user is allowed not to have any action in a session before the system auto-logout the account. To skip this setting, leave the field blank.
- In the Maximum Login Failures to Lockout Account field, set a number to decide how many times a user can type the wrong password before their accounts are locked.
- In the Lockout Time (minutes) field, enter the number of minutes to lock an account before the user can log in again. This option can Tackle brute force attacks.
- In the Password Lifetime (days) field, set the number of days a password can be used before it expires. Leave the field blank if you do not want to activate this feature.
- In the Password Change field, select “Forced” to require the users to change their password before it expires or choose “Recommended” to give advice about password resetting.

Step 3: Save the customization
- Click
Save configbutton in the upper-right corner when you are done.
Recent Tutorials
October 28, 2019
Magento 2 get customer address custom attribute value
June 05, 2019
How to Install Magento Extension via Composer
Comments for Secure Your Admin
People also searched for
- Magento 2 Secure Admin
- magento 2 secure admin url
- magento 2 admin secure connection failed
- magento 2 ssl admin
- magento 2 ssl admin not working
- magento 2 disable secure admin
- magento 2 admin ssl redirect loop
- magento 2 use secure urls in admin database
- magento 2 admin security use form key
- magento 2 use secure urls in admin
- magento 2 secure admin
- 2.2.x, 2.3.x
Subscribe
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!
Earn $10 in reward now!