Cloud Service >> Knowledgebase >> How To >> How to Protect a Directory with Password Authentication in DirectAdmin?
submit query

Cut Hosting Costs! Submit Query Today!

How to Protect a Directory with Password Authentication in DirectAdmin?

Protecting directories with password authentication is a valuable way to secure sensitive facts on your website. This feature allows the best legal customers to get entry to particular areas of your website by requiring a username and password for entry. If you are using DirectAdmin, here's a step-by-step manual on a way to password-guard a listing.

 

Steps to Protect a Directory with Password Authentication in DirectAdmin:

Step 1: Log in to DirectAdmin

1. Open your browser and navigate to the DirectAdmin login page.

2. Enter your username and password to access the control panel.

 

Step 2: Navigate to "Password Protected Directories"

1. Once logged in, discover the "Advanced Features" section.

2. Click on Password-Protected Directories to continue.

DirectAdmin login page

Step 3: Select the Directory You Want to Protect

1. You might be supplied with a list of available directories.

2. Choose the listing you desire to shield by clicking on its name.

3. If you don’t see the directory you’re looking for, make sure it’s properly configured and handy via your cloud hosting account.

 

Cloud Hosting

Step 4: Enable Password Protection

1. In the directory protection settings, take a look at the box labelled Password Guard in this listing.

2. You can optionally offer a name for the protected directory for a way to be displayed when customers try to get the right of entry to the listing (for instance, "Protected Area")

 

Step 5: Create User Credentials

1. Scroll right down to the Create User section.

2. Enter a username and password to be required to get entry.

3. Ensure the password is robust by way of consisting of letters, numbers, and special characters.

4. Click Add User to save the credentials.

 

Cloud Hosting

Step 6: Test the Password Protection

1. Navigate to the URL of the listing you’ve simply included.

2. You must be precipitated for a username and password earlier than gaining admission.

3. Enter the credentials you created to affirm that the password protection is running successfully.

Password Protection

Managing or Removing Protection

1. To remove protection: Navigate lower back to the "Password Protected Directories" phase, pick out the listing, and uncheck the box categorized Password Protect this listing.

2. To delete a person: Go to the consumer listing in the password protection settings and delete the credentials as wanted.

Final Thoughts

By using DirectAdmin’s built-in password protection for directories, you can without problems restrict the right of entry to touchy regions of your internet site. This function is right for developing personal sections for specific users, securing development areas, or shielding confidential content material.

 

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!