A password-protected directory or area is a folder that may be accessed only if a username and a password are entered, so no unauthorized people can see its content. This function could be used for the main folder of a particular Internet site or exclusively for a specific subfolder in accordance with your requirements. As an example, if you are building a new Internet site and you don't want people to see it prior to it being 100% ready, you might want to prohibit the access to it entirely, whereas if you want only some people to be able to access particular files, you'll be able to password-protect only a certain folder, while the rest of the website can be seen by everybody. In either case, a “403 Forbidden” error page shall appear when the login details the visitor inputs are not right. Even a direct link to a file won't work provided any folder above it is password-protected.

Password Protected Directories in Hosting

All our Linux hosting packages include an incredibly handy tool that'll permit you to secure any folder in your account from unauthorized access with just two mouse clicks. As soon as you log in to your Hepsia website hosting Control Panel, you will only have to visit the Password Protection section, to choose the main domain or subdomain, to specify the folder which should be secured - the root folder or some folder under it, and then to enter the username and the password that have to be used so as to access the content in question. The feature will be turned on immediately, so if you attempt to open the folder/website, you will be prompted to input the login info. You can create or remove numerous usernames for the same folder, if necessary. If you navigate to the File Manager section, all password-protected folders shall be marked with a tiny padlock icon.