View Categories

How to password protect a directory in DirectAdmin

< 1 min read

Do you want to allow only specific users access to a directory on your account? DirectAdmin has a tool that allows you to password-protect directories. You can, for example, password-protect your WordPress wp-admin directory.

To password protect a directory in DirectAdmin:

  1. Log in to your DirectAdmin control panel by accessing https://yourdomain:2222
  2. Navigate to Password Protected Directories
  3. Click the Find a Directory to Password Protect link. The file manager window will open.
  4. Locate the folder you want to block access to and click the Protect link
  5. Enter a description for this protection (like my private directory), a username, and a password.
  6. Check the Protection Enabled option and click the Save button. You will see a confirmation message: Directory Protection Settings have been saved.

Powered by BetterDocs