How to set Password Protected Directories in DirectAdmin panel?

We have prepared a procedure for protecting folders on the site for you. You can do it easily and quickly in a few steps:

Protected Directory is a directory on the server that is protected by a username and password. Allows you to restrict access to sensitive pages or folders on a website.

Step 1: Log in to DirectAdmin (instructions)

Step 2: In the menu, select Advanced Features and then Password Protected Directories



Step 3: Select the folder you want to protect.

Step 4: In the Protected Directory Prompt section, type a description of the file.

Step 5: Enter your username in the Set/Update User section and your password in the Password section.



Step 6: Click Protect. You have now successfully set up protection on the folder.

When trying to access this folder, you will need to enter the username and password you defined during setup.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I enable DKIM in the DirectAdmin panel?

DKIM enables verification of the authenticity of the email sender using a digital signature,...

How to create an FTP account in the DirectAdmin panel and connect using FileZilla?

We have prepared a procedure for you to create an FTP account in DirectAdmin. You can easily...

How to Generate Backup of your DirectAdmin Account?

Here we have written instructions for creating a backup in the DirectAdmin panel. You can easily...

How can I increase the execution time in the DirectAdmin panel?

Changing "max_execution_time" in the DirectAdmin panel is simple and you can do it in just a few...

How do I increase the upload_max_filesize in the DirectAdmin panel?

Changing "upload_max_filesize" in the DirectAdmin panel is simple and you can do it in just a few...