• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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