A password-protected directory or area is a folder that may be accessed when a username and a password are typed in, so no unauthorized people can view its content. This function may be used for the primary folder of a particular site or only for a specific subfolder based upon your preferences. As an example, when you are building a new website and you do not want people to see it before it is ready, you should prohibit the access to it entirely, and if you would like only some people to be able to access specific files, you can password-protect only a specific folder, while the rest of the site could be seen by anyone. In either case, a “403 Forbidden” error page shall appear when the login details the visitor types in aren't accurate. Even a direct link to a file will not work as long as any folder above it is password-protected.

Password Protected Directories in Shared Hosting

All our Linux shared services come with an exceptionally convenient tool which will permit you to shield any folder inside your account from unauthorized access with simply two clicks. Once you log in to your Hepsia hosting CP, you'll 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 which have to be used in order to access the content in question. The function shall be active instantly, so if you make an effort to open the folder/website, you will be prompted to enter the login info. You can set up or remove numerous usernames for the exact same folder, if needed. If you go to the File Manager section, all password-protected folders will be shown with a compact padlock icon.