Directory Password Protection

Directory Password Protection is a useful feature that allows you to restrict access to certain folders on your website by requiring a username and password. This is ideal for protecting sensitive files or private content from unauthorized users.

Accessing Directory Password Protection

To password-protect a directory:

  1. Log in to your control panel.
  2. From the main menu, click on the "Password Protected Directories" icon.

Setting Up Password Protection for a Directory

  1. Choose the Directory:

    • You’ll see a list of directories inside your public_html folder.
    • Click the "Protect" link next to the folder you want to secure.

    Screenshot Recommendation:
    Provide an image of the directory listing, showing the "Protect" link next to folders.

  2. Configure Protection Details:

    • Check the box at the top of the configuration table to enable protection.
    • Fill in the following fields:
      • Directory Prompt: Enter a description for the directory (e.g., "Protected Area").
      • Username: Specify the username required to access the directory.
      • Password: Enter the password for access.
    • Click "Save" to apply the settings.
  3. Verify Protection:

    • Open your browser and navigate to the protected directory's URL.
    • You should now see a login prompt requiring the username and password you set.

Modifying or Removing Password Protection

To update or remove protection from a directory:

  1. Return to the "Directory Password Protection" menu.

  2. You’ll see a list of currently protected directories.

  3. Click on the directory path you wish to edit.

  4. From this screen, you can:

    • Unprotect the Directory: Uncheck the protection box at the top.
    • Change the Username: Enter a new username.
    • Change the Password: Enter a new password.
    • Add Additional Users: Create new username and password combinations.
  5. Save the changes and test the directory to ensure the updates have been applied.

Conclusion

Directory Password Protection is a straightforward way to safeguard sensitive files or content on your website. By setting up usernames and passwords, you can ensure that only authorized users can access specific areas of your site. Regularly updating passwords and monitoring access can help maintain security.

Was this answer helpful? 0 Users Found This Useful (0 Votes)