sickz Posted April 14, 2012 Share Posted April 14, 2012 Hello, can someone tell me how i can password protect Admin folder with htaccess? Thanks in advance, Best regards. Link to comment Share on other sites More sharing options...
jhnstcks Posted April 14, 2012 Share Posted April 14, 2012 http://httpd.apache.org/docs/2.0/programs/htpasswd.html Link to comment Share on other sites More sharing options...
hxd Posted April 20, 2012 Share Posted April 20, 2012 You can also block access to the folder for all IP addresses except yours (and any others of your choice). To do this create an .htaccess file in your PrestaShop admin directory and put the following in it: Order Deny,Allow Deny from all Allow from 00.00.00.00 You have to replace 00.00.00.00 with your actual IP address. You can also list more than one IP address; just separate them with a comma: Order Deny,Allow Deny from all Allow from 00.00.00.00,11.11.11.11 There's no space between the comma and the IP addresses and also between the comma and deny and allow. 1 Link to comment Share on other sites More sharing options...
Pitchiah Posted September 29, 2014 Share Posted September 29, 2014 (edited) I too need answer for this question... I put .htpasswd file in admin folder with username:password like this but it doesn't ask any credential In the same way i used in my Zend project but it works perfectly. Edited October 13, 2014 by Pitchiah (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now