• 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 Protect A Directory

J

JustinK101

Guest
How do I password protect a directory with 7.6? I am looking at permission on folders, but looks a little confusing. I want to make the folder resistrcited, so you HAVE to put in a password, using the standard http password request.

I need to be able to grab the username via the php call:

if(isset($_SERVER['PHP_AUTH_USER']))
{
$current_user = $_SERVER['PHP_AUTH_USER'];
}

Thanks guys!
 
Back
Top