Password Protected Directories
Find out how to make a secure and user-only area in your site with password-protected directories.
If you'd like to keep some content hidden from the public eye, you can enable password protection for a certain folder - either the primary website folder or another one below it. If this function is turned on, a pop-up shall appear each time a person tries to open the folder in question or clicks on a direct link that goes a few levels deeper, so login details will be needed for www.domain.com/folder/image.jpg when you have secured only the domain.com folder. If the credentials are not valid, a “403 Forbidden” message will appear and there isn't any method of getting around this restriction, so you can rest assured that nobody will be able to access the protected content. The feature can be useful in numerous situations - if only certain individuals must be able to see specific files, if you are building an Internet site and you don't want people to see it prior to it being completed, etc.
Password Protected Directories in Cloud Website Hosting
All our Linux cloud website hosting packages
feature an incredibly useful tool that'll permit you to shield any folder inside your account from unauthorized access with only two clicks. Once you log in to your Hepsia web hosting CP, you will just have to go to the Password Protection section, to select the main domain or subdomain, to specify the folder that has to be protected - the root folder or some folder under it, and then to enter the username and the password that should be used so as to access the content in question. The feature shall be turned on straightaway, so if you attempt to open the folder/website, you'll be prompted to enter the login info. You could set up or remove a number of usernames for the same folder, if needed. When you navigate to the File Manager section, all password-protected folders shall be indicated by a tiny padlock icon.
Password Protected Directories in Semi-dedicated Hosting
If you have a semi-dedicated server
account with our company, you shall be able to protect any content you have uploaded through our protection tool. Its interface is as simple and intuitive as that of the Hepsia Control Panel it is a part of, so you will not have to write any code at any time. You'll only need to select one of the domains/subdomains that you have in the hosting account and to select which folder must be password-protected - the website’s root folder or some folder below it. After that you can enter the username and the password, which will be stored in encrypted form in our system, and you shall be all set. The protection will be enabled immediately, so anybody who attempts to access the freshly secured folder shall have to input the correct login details. If a number of people should be able to access exactly the same content, you can create a separate username for each.