How do I protect a part of my website (Linux)?

Log in on your web hosting control panel as described in this link.

Click "Manage Website"

Click "More tools" and then "Protected directories"

Click "Add new protected directory" or choose a directory to deactivate its protection.


Here, enter the name of the directory to be protected. Click "Apply"

If the directory did not yet exist, then it will be created now.


NB: if you change the name of a protected directory the latter will no longer be protected.

Click the name of the protected directory to add users who are to have access to the directory.


Click Users

Click on 'Add New User'

Fill in the login/password at the bottom and click Apply

From now on the directory will be protected.