• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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