Password Protected Directories
Learn how to set up a protected and user-only area in your website with password-protected directories.
If you would like keep some content hidden from the public eye, you can activate password protection for a particular folder - either the main Internet site folder or any other one below it. In case this function is active, a pop-up shall appear each and every time somebody attempts to open the folder in question or clicks on a direct link that goes a few levels deeper, so login details will be required for www.domain.com/folder/image.jpg if you have secured the domain.com folder. When the credentials are not valid, a “403 Forbidden” message shall appear and there isn't any way of getting around this restriction, so you can be sure that nobody will be able to access the protected content. The option may be useful in a variety of situations - if only a number of individuals need to be able to see certain files, if you are building an Internet site and you don't want people to see it prior to it being completed, and so forth.
Password Protected Directories in Hosting
All of our hosting
include a really handy tool that will enable you to shield any folder inside your account from unauthorized access with just 2 clicks. Once you log in to your Hepsia hosting Control Panel, you'll just have to go to the Password Protection section, to select the main domain or subdomain, to specify the folder that needs 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 in order to access the content in question. The function shall be active immediately, so in case you make an effort to open the folder/website, you'll be prompted to input the login info. You could create or remove a number of usernames for the very same folder, if required. When you navigate to the File Manager section, all password-protected folders will be shown with a little padlock icon.