• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Password Protected Directory with IP Exception

bradz

Regular Pleskian
On Plesk 11.5 / Centos 6.5 / Linux

I normally protect a given directory in the Plesk Contral Panel with a Username / Password.
I would like to bypass the username and password for visitors from one IP.
Is this possible? How can I do this?
Thanks,
Brad
 
bradz,

- you can limit authenticated (user/pass) access to a site's directory: "Website -> Password Protected Directories"
- you can deny access to the site using IP restriction: "Website -> Webserver settings -> Deny access to the site"

these features are independent, so you cannot add IP exception for a protected directory
 
Would htaccess do it?

Thanks Alexey,

Could I do it with an htaccess file in the directory I wish to protect via password but would like an IP exception?
If yes, does anyone have example code? Brad
 
Back
Top