A password-protected directory or area is a folder that could be accessed when a username and a password are provided, so no unauthorized people may check out its content. This feature can be used for the main folder of a certain Internet site or exclusively for a particular subfolder based upon the needs you have. As an example, when you are building a new site and you do not want people to see it before it is ready, you may want to limit the access to it altogether, and if you would like only some individuals to be able to access particular files, you'll be able to password-protect only a particular folder, while the remaining portion of the site can be seen by everyone. Either way, a “403 Forbidden” error page will appear if the login details the visitor enters are not right. Even a direct link to a file will not work so long as any folder above it is password-protected.

Password Protected Directories in Shared Hosting

All our shared hosting include an exceptionally useful tool that will allow you to shield any folder inside your account from unauthorized access with just 2 clicks. Once you log in to your Hepsia web hosting CP, you'll just have to visit the Password Protection section, to select 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 must be used so as to access the content in question. The feature shall be active instantly, so if you attempt to open the folder/website, you will be prompted to input the login credentials. You can set up 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 tiny padlock icon.