A password-protected directory is a folder which cannot be accessed unless the right login details are supplied. This can be a whole Internet site or only a single page that is located in a subfolder. If you attempt to open this type of a directory, you'll see a web browser pop-up in which you must enter a username as well as a password. In case you type in the right ones, you'll be able to continue exploring the content without having to do anything else. In case the login credentials aren't accurate, however, you shall see information that you are not authorized to view the content. In case this feature is enabled, you won't be able to open a file even if you have a direct link. The option is extremely handy if you need to restrict the access to some content or if you are creating a website and you do not want visitors to be able to access it prior to it being ready.

Password Protected Directories in Website Hosting

All of our Linux website hosting packages include an exceptionally convenient tool that'll enable you to shield any folder within your account from unauthorized access with only two clicks. As soon as you log in to your Hepsia hosting Control Panel, you will simply have to go to the Password Protection section, to choose the main domain or subdomain, to specify the folder which has to be protected - the root folder or some folder under it, and then to input the username and the password which must be used in order to access the content in question. The function shall be active at once, so if you attempt to open the folder/website, you shall be prompted to type in the login information. You may create or remove multiple usernames for the same folder, if needed. If you go to the File Manager section, all password-protected folders shall be marked with a compact padlock icon.