A password-protected directory is a folder which cannot be accessed unless the proper login credentials are provided. This can be a whole site or only one page which is situated in a subfolder. If you try to open this sort of a directory, you shall see a web browser pop-up in which you will have to input a username and also a password. If you enter the right ones, you'll be able to continue exploring the content without needing to do anything extra. If the login details aren't accurate, however, you will see a note that you are not authorized to see the content. In case this option is enabled, you won't be able to open a file even when you have a direct link. The option is extremely handy if you wish to limit the access to some content or if you are developing a site and you do not want visitors to be able to access it prior to it being ready.

Password Protected Directories in Shared Hosting

All of our Linux shared hosting feature a really handy tool which will enable you to protect any folder within your account from unauthorized access with just 2 clicks. As soon as you log in to your Hepsia website hosting Control Panel, you'll simply have to navigate to the Password Protection section, to pick the main domain or subdomain, to specify the folder which should be protected - the root folder or some folder under it, and then to type in the username and the password which should be used so as to access the content in question. The feature shall be turned on straightaway, so in case you attempt to open the folder/website, you will be prompted to type in the login credentials. You may create or remove many usernames for the same folder, when necessary. If you go to the File Manager section, all password-protected folders shall be shown with a little padlock icon.