For more details see the Security Suite for Magento 2 extension page.
Apply full protection to your webstore with Magento 2 Security Suite. Easily control all backend activities and prevent possible security threats with one extension.
To configure all security settings, go to Stores → Configuration → Amasty Extensions.
Use reCaptcha to protect your store from spam, bots and frauds without any developer’s skills.
To get the access to the 'Invisible Captcha' settings please expand the General Settings section.
Enable invisible captcha - choose Yes to enable invisible reCaptcha on your website.
To get the Site key and Secret key click the link.
Then, set the name, select the Invisible reCAPTCHA option, define the domain of your website, tick the Terms of service checkbox and press the Submit button.
Copy the keys from this page:
Next, you can specify the Language of the Google Invisible reCaptcha that will be used for all users instead of their browsers' preferences. You can see the list of the available languages here.
Theme of Captcha Badge - select the theme that will be displayed on the frontend. Learn more about the available themes here.
Position for Captcha Badge - choose the suitable place for captcha.
In this section you can enable or disable the Google Invisible reCaptcha for supported Amasty modules. Choose Yes to enable the Captcha for the extensions or No to disable it. Please note that you will get the Not Installed status when you do not have the appropriate extension.
To add Google Invisible reCaptcha to any custom form on your website, please go to the Advanced Settings section.
In the Urls to enable field, you need to put the URL where a form is sent.
For example, you would like to add a Google reCAPTCHA to a registration form. This is how to get the URL:
1. Go to the registration form page.
2. Fill in the form.
3. Open the 'Inspect' window, and then the 'Network' tab.
4. After submitting the form you need to find a request with POST in the 'Method' column and 302 Status.
5. Click on this request and in the 'Headers' tab find a 'Request URL'. Сopy the path from the URL (in our example it is customer/account/createpost/).
6. Paste the URL in the URLs to enable field.
In the Selector for forms field, you need to put a CSS selector of the form.
For example, this is how to get a CSS selector for 'Create an account' form:
1. Go to the Create an account page and open the Inspect window.
2. Find the HTML code of the form, click on the right mouse button and choose Copy → Copy selector
3. In our case the selector is .customer-account-create .account-create form and we add it to the Selector for forms field.
Don't forget to click the 'Save' button after you add a CAPTCHA to all forms that you need.
Enable Invisible Captcha for guests only - enable the option to show invisible Captcha only for guests. Thus, the extension won't display Captcha to registered clients.
IP whitelist - specify certain IP addresses for which you want to disable Invisible Captcha. Place put each IP address on a new line.
When everything is set, it is important to check how reCaptcha works. Please, follow these steps:
With the Admin Actions Log extension, you have the possibility to track all backend actions performed by store administrators.
To configure general extension settings, expand the Admin Actions Log tab.
Expand the Log Settings section.
Enable Page Visit History — set this option to Yes if you want to collect history of all pages, visited by the administrators;
Log Actions For All Admin Users — set this option to Yes to keep track of all admin actions. If you are only interested in actions of certain administrators, choose No;
Admin Users To Log Actions For - specify the particular users whose actions will be logged;
Automatically Clear Action Logs After, Days — specify the number of days after which all action logs would be automatically deleted;
Automatically Clear Login Attempts After, Days — specify the number of days after which all login attempts would be automatically deleted;
Automatically Clear Page History Log, Days — specify the number of days after which all page history would be automatically deleted. Set 0 for unlimited number of days.
Use GeoIP — enable or disable GeoIP support to determine the country and city from which admin users get logged in.
Next, please expand the Restore Settings section.
Popup Warning Text — fill in the warning message for the Restore feature.
With the extension, you can get notifications about Successful, Unsuccessful, and Suspicious admin panel login attempts. To enable any type of notifications, please expand the corresponding section and configure the following options:
Enabled — enable or disable a certain notification type;
Select Email Template — choose the email template to use for notifications;
Send to Email — specify the email address to send notifications to.
To see the Action Log of all administrators, please go to System → Admin Actions Log → Actions Log. The actions are logged only for the users you specified on the General Settings page.
In the Action Log table you can find the following details:
Click Preview Changes in the Actions column to see the brief info about the action which has been performed by the user.
Click View Details in the Actions column and switch to the Modifications Breakdown tab to see the details of an action.
You can use the Restore Changes button to cancel all changes of this action.
Then, a pop-up window should appear to confirm aborting the changes.
To view administrator sessions that are active right now, please go to System → Admin Actions Log → Active Sessions.
In the table you can find the following information:
Hit the Terminate Session link in the Actions column to terminate any session if necessary.
To access the Login Attempts grid, please go to System → Admin Actions Log → Login Attempts.
On the grid you can find the following details:
Generally, each store administrator can have one of three available statuses:
Success — this status appears when a user is successfully logged in to the admin panel;
Logout — this status appears when a user is successfully logged out from the admin panel;
Failed — this status is shown when the person tries to log in with a wrong username or password.
To see the history of pages visited by all administrators please go to System → Admin Actions Log → Page Visit History.
On the grid you can find the following details:
Click the the admin user’s name to see the details.
Please switch to the Visits History tab to view the details of the session. You can see Page Name, URL address and the exact duration of staying on this page.
The new History of Changes tab is available for product, customer and order info pages.
You can preview each particular page modification or view its details via Select button. On top of that, you can restore recent changes using the Restore Changes button in the detailed view.
To install the database, go to Geo Ip Data section.
You can get the databases automatically or import your own data.
Hit the Download and Import button to make the extension download the updated CSV dump file and import it into your database automatically.
To import the files from your own source, use the Import option. Path to the files should look like this (the part 'var/amasty' should be replaced with your folders’ names):
var/amasty/geoip/GeoLite2-City-Blocks-IPv4.csv var/amasty/geoip/GeoLite2-City-Blocks-IPv6.csv var/amasty/geoip/GeoLite2-City-Locations-en.csv
Protect your webstore with simple yet efficient 2-step verification extension. Make your account available to verified users only.
To configure the extension, open the Two-Factor Authentication tab.
Enable Two-Factor Authentication - Set to Yes to enable two-factor authentication extension on your Magento account.
Discrepancy — modify the allowed time drift in 30 second units (e.g. 8 means 4 minutes before or after) for verification codes generation.
IP White List - In this field, you can include reliable IP addresses. Users, who log in from these IP addresses will not be required for verification code (e.g. your staff members). You can add multiple IPs, separating them with coma.
Go to System → Permissions → Users to set admins' permissions.
Edit any existing role by clicking it or create a new one using Add New User button.
Open the Two-Factor Settings tab to configure and synchronize the extension with the Google authentication app. The application generates additional security codes.
Enable TFA - Open your Google Authenticator application and register the login by scanning the QR Code or entering the Secret Key.
Status - the default status is Not Configured. It will be switched to Configured, once you enter a Secret Key or scan the QR code.
Secret Key - Insert the Secret Key into Google Authenticator app to generate additional Security Code.
QR code - Scan QR code to receive the Secret Key and insert it into Google Authenticator app to generate additional Security Code.
Security code - Insert your received Security Code and click Check code to verify it. Verify - If Security Code is correct, then Check code link will be changed to Verified.
Press Save User button. The user will now be required to enter one-time security code when logging in admin panel.
When the verification returns the Invalid value, you can fix this by modifying the Discrepancy value in the extension general settings.
Try increasing the value by 1, save changes, and try the verification procedure once again. If you'll face the Invalid value again, please, try to increase a discrepancy one more time.
To test, whether the extension was successfully synchronized with Google Authenticator App and well configured, log out from your current session and try to log in to the account you have configured.
This is how Google Authenticator App generates the security code.
Set flexible limitations to your admin users. Configure the Advanced Permissions extension to control the access to products, categories, store views and CMS pages.
To create a new sub-admin role with advanced permissions, please navigate to Admin panel → System → Permissions → User Roles. Then, hit the Add New Role button.
Then, you can assign this role to certain users. Click the Role Users tab and flag the required users.
With the extension, you can set up advanced permissions to provide or limit access for your store managers to the certain parts of the admin panel.
In this tab you can limit access to certain store views or websites. Modify the Limit Access To option to:
For the websites and store views option you should specify the required ones.
For the website and store views options you can limit user role access to the following parts of your store:
Select between the Yes or No options.
In the Categories tab you can provide this role with access to all product categories or limit to selected categories. Please tick the necessary categories or subcategories to allow access to them.
Next, the Products tab enables you to provide access to all, only selected, or own created products. In second case you will need to flag the required product. In third, you can make products accessible only for their owners that is convenient for the multi-vendor stores.
In the Product Attributes tab you can restrict access to certain product attributes. Set the Allow Access To option to Selected Attributes and specify the desired attributes for this user role.
Finally, in the Admin User Role tab you can allow this user to create the new users with the selected roles. Choose the appropriate option from the dropdown menu and select the required roles.
When the configuring of a certain user role is done, hit the Save Role button.
If you need to add extra users to your admin panel, please go to System → Permissions → All Users and hit the Add New User button.
Specify account information and switch to the User Role tab. From here you can tick the desired radio-button to provide this user with certain administrative privileges. When done, hit the Save User button.
Return to the previous steps to know how to set up a user role with advanced permissions.
To provide selective access to a certain product you can set up its owner.
Magento 2 Security Suite extension is preintegrated with Cron Tasks List to provide store owners with an opportunity to track and manage all cron tasks running in the website background.
To view all scheduled and executed cron tasks, go to System → Cron Tasks List
Run all cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also you can delete separate tasks in bulk, apply filtering and sorting options when it is needed.