I am newbie in Magento. I want to restrict Magento admin panel access via particular IP addresses/ranges. Please guide me.


You can place following in .htaccess file:

RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC]
RewriteCond %{REMOTE_ADDR} !^
RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L]

Or you may use following extension: https://www.magentocommerce.com/magento-connect/et-ip-security.html

Not the answer you're looking for? Browse other questions tagged or ask your own question.