Password Protected Directories
See how to set up a safe and user-only area in your site with password-protected directories.
A password-protected directory is a folder which can't be accessed unless the proper login credentials are supplied. This could be a whole website or simply a single page that is located in a subfolder. If you attempt to open this kind of a directory, you shall see a browser pop-up in which you must input a username as well as a password. In case you type in the appropriate ones, you'll be able to continue browsing the content with no need to do anything more. When the login credentials are not accurate, however, you shall see a message that you are not authorized to look at the content. In case this function is activated, you won't be able to open a file even if you have a direct link. The function is extremely useful if you wish to restrict the access to some content or if you are developing a website and you do not want visitors to be able to access it before it's ready.
Password Protected Directories in Shared Hosting
All of our shared plans
feature a really convenient tool that'll permit you to secure any folder within your account from unauthorized access with just 2 mouse clicks. Once you log in to your Hepsia hosting Control Panel, you'll just have to navigate to the Password Protection section, to pick 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 type in the username and the password that must be used to access the content in question. The feature will be activated immediately, so if you make an effort to open the folder/website, you'll be prompted to input the login information. You can set up or remove multiple usernames for the same folder, if necessary. If you go to the File Manager section, all password-protected folders shall be marked with a small padlock icon.