Securing Magento 1
Brute force attacks against Magento stores are unfortunately common, as with any popular web framework. Fortunately, they are easily countered as they are often lazy attacks from automated scripts or botnets that try to use the default Magento paths to gain entry.
Our support team at MageMojo can help implement any of the changes below to help protect your store.
To help protect your store against attacks, do the following:
- Change the admin path from /admin to something less obvious; this is adjusted in your local.xml file near the bottom. Change the
variable to adjust this and then clear the Magento cache.
- Password or IP restrict your downloader using our panel access restrictions or a .htaccess file, you can also move the downloader out of the Magento web root completely when not actively using Magento Connect.
- Update Magmi, older versions of Magmi are unsecure and can allow remote users to upload files for remote execution.
- Keep any WordPress installations up to date within your Magento web root; they are another common source of malware.
- Apply any missing patches for your store; our support can help apply these for you. Most Magento 1.x patches are critical to security
Further securing your Magento admin
If changing the admin path is not sufficient, it is also possible to IP restrict it entirely. Contact email@example.com/kb for details on how to restrict this on our hosting.