Search our Help Centre
Example: How do I setup my email account
What is the ‘Protect Directory’ tool and how does it work?
Email Setup Guides
These easy to follow guides provide step-by-step instructions on how to setup and troubleshoot your email program, with personalised screenshots providing visual examples to follow. Should you get stuck along the way, our support team are on hand to assist you.
View guidesSuggestion Box
Do you have a suggestion on how we can make our service or product offering even better? Let us know by completing our simple Suggestion Box form.
View formkonsoleH™
Our award winning proprietary control panel empowers customers to manage their hosting environment.
Take the tourThe Protect Directory function is used to restrict access to specified directories on your domain thereby allowing you to grant privileged access to multiple users, each having their own login details e.g. username and password.
When a visitor browses to a protected directory, they will be prompted to provide a username and password. Only if the correct username and password combination is provided, will the webpage load.
Protect a directory via konsoleH:
- Browse to konsoleH (http://myaccount.hetzner.co.za)
- Login with your Client number and Management password
- Select or search for a domain name in the ‘Hosting Service’ tab
- Select ‘Manage Services’
- Select ‘Webserver config’
- Select ‘Protect Directory’
- Select a directory from the directory listing. If the directory is a sub directory, there will be a [+] next to the main directory.
- Click on the [+] to display any sub directories of the main directory.
- Select the directory you wish to protect.
- A list of existing users is displayed (if there are any).
- Click on ‘Add’ to setup a new user.
- Enter a username and password in the corresponding fields provided. Enter a description of the directory in the ‘Dir. Name’ field.
- Click ‘Add’ to enable the directory protection.
- When ‘Auto-Generate’ is selected, a system generated username and password will be provided.
- Select ‘Directory List’ to view the directory listing or ‘User List’ to view a user list for the protected directory.
Edit a password of a protected directory via konsoleH:
- Steps 1-6 above
- A protected directory selected from the directory listing will be indicated by a lock icon.
- Select the directory.
- Select ‘Edit’.
- Enter new password.
- Click ‘Update’.
Remove password protection from a directory via konsoleH:
- Steps 1-6 above
- Select the directory from the directory listing.
- Click ‘Delete’.
- Click ‘Delete User’ to remove the user from the directory. Please note that if this is the only or last user for the directory, all protection will have been removed.
Usernames and passwords are case sensitive.
Related articles
- What is the konsoleH Webserver Configuration tool?
- What is the 'Protect Directory' tool and how does it work?
- What is the 'IP Blocker' tool and how does it work?
- What is the 'Index Manager' tool and how does it work?
- What is the 'Custom Error Pages' tool and how does it work?
- What is .htaccess and what can I do with it?
- What are 'Redirects' and how do they work?
- How do I password protect a directory within the public_ssl folder?
- How do I enable PHP error logging?
- How do I change my URL displayed in a web browser?
Was this information helpful?
Yes NoThank you for your feedback
We are delighted to find that our article resolved your query.
Thank you for your feedback
We will resolve your query as soon as possible.
Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.
