A password-protected directory or area is a folder which can be accessed only when a username and a password are provided, so no unauthorized individuals may observe its content. This option could be used for the main folder of a given site or just for a specific subfolder in accordance with your requirements. As an example, if you are developing a new Internet site and you don't want people to see it prior to it being completely ready, you need to restrict the access to it as a whole, and if you want only some individuals to be able to access certain files, you could password-protect only a specific folder, while the rest of the site can be seen by everyone. Anyway, a “403 Forbidden” error page shall appear in the event that the login details the visitor inputs aren't correct. Even a direct link to a file won't work so long as any folder above it is password-protected.

Password Protected Directories in Hosting

All our hosting include a really useful tool which will enable you to shield any folder within your account from unauthorized access with only 2 mouse clicks. Once you log in to your Hepsia hosting CP, you will simply have to go to the Password Protection section, to select the main domain or subdomain, to specify the folder that should be protected - the root folder or some folder under it, and then to input the username and the password that must be used in order to access the content in question. The function shall be turned on immediately, so if you make an effort to open the folder/website, you shall be prompted to input the login credentials. You may set up or remove many usernames for the same folder, when necessary. When you navigate to the File Manager section, all password-protected folders will be marked with a tiny padlock icon.