Stealing user data, spamming, breaking and entering are the nefarious elements which seizes your website to do wary activities. You must be thinking how to deteriorate their entrance to our Magento stores? Worry not! Magento already comes with numerous built-in security features. But, there is always more which can be done to make it completely bulletproofed. Lets have a look at what else can be done.
Here are ten proven techniques to block security breaches from entering your Magento Store.
1.Create a custom admin path: An unaltered path makes it easy for hackers to navigate through admin page and use Brute Force Attacks to open up gateways to guess your user name and password.
It is recommended that you constantly change the admin path. But remember when you change it, don’t alter the “ Admin Base URL” settings in the admin segment of the system configuration. In case, you don’t do it, it will crack Magento by averting you from accessing the admin panel. Rather, locate “ 2. Use Two-Factor Authentication: Two-factor authentication extensions guarantees that only trusted devices can access your Magento back-end.
This provides an extra coating of security which demands you to know your unique username, password and security code which is randomly generated. Just after 30 seconds of the entire process on a smartphone app you will be able to purchase from the Magento Connect Marketplace. Thus, strengthening the security of your website.
3. Limit Admin access to only approved IP addresses:
In case the points discussed above were not enough for you (because of PCI compliance requirements), then you can certainly restrict admin access to only the IP addresses you have whitelisted.
This can be done through Apache directive Location Match:
<code>
<LocationMatch “admin”>
Order Deny,Allow
Deny from All
Allow from 10.10.10.0/24
</LocationMatch>
</code>
However, in the above example always remember to change “admin” to your fresh and unique admin login page. Now, as previously I have used “ ” In this article I used “ Mer25x” as the unique admin login page, therefore, I will switch “admin” to “Mer25x”.
4. Require HTTPS/SSL For All Your Login Pages:Every time you use your username and password without an encryption connection, you take the risk of getting seized by a hacker. Banish this possibility by using HTTPS/SSL in Magento.
You can do this effectively on the “System” tab in the main toolbar and by choosing “Configuration” from the drop down menu. After this click on the “Web” tab from the left hand navigation and then select “Secure” in the main window. Here you can alter the base URL of your store. Next, select “Yes” for both”Use Secure URLs in Admin” and “Use Secure URLs in Front-end”. Thereafter, click the “Save Config” button on the top of the page and get started.
5. Use a secure FTP: One of the simplest ways to hack a Magento store is to intercept an FTP password. To block this happening, use secure FTP passwords and FTP-SSL (Explicit AUTH TLS) or SFTP (SSH File Transfer Protocol).
Now if you want a higher level of security, I will recommend you to use SFTP and a Public Key Authentication. Also, limit unsecured FTP access to prevent unpleasing scripts from creating havoc.
Other security measures that you can take to boost the security of your website are:
• Change your file permissions
• Secure your Local.xml file
• Lock your Magento connect manager
• Disable any dangerous PHP functions
• Disable directory indexing
• Use only trusted Magento extensions
Always remember to go with the latest version of Magento. As they often come out to shield recently discovered security risks in the software. Keep your anti-virus software which is up to date. A secure website is a hassle free website which diminishes a major headache and improve the conversion rate by increasing the trust factor.
Comments (1)
Impressed by the content. Even these are the basic concepts but still we ignore these points most of the time. It will be helpful for the beginners.