Search our database

How to password protect a Directory in DirectAdmin

Login to your DirectAdmin control panel and select your domain name, then click on “Password Protected Directories”.

Click “Find a Directory to Password Protect”

DirectAdmin will now display all the files under public_html folder of your domain name. As an example, let’s say you want to password protect the “ecommerce” folder. Click on “Protect” at the same row as the “ecommerce” folder

Finally, specify the username and password required to view the folder contents, then click save