How to setup a password protection for my files
If you want to block the public access to a particular folder in your account, which is accessible through the web, you can easily do this through the URL Protect & Redirect section of your Web Hosting Control Panel (Site Options > URL Protect & Redirect).
First, choose the domain or subdomain and then select the desired folder in the "Path to be protected" field. You should set up a username and a password for the protected area and then you can enable the protection.
Note that if there is an .htaccess file inside the folder, which you are trying to protect, the protection will not work. You should rename (and thus disable) the .htaccess file, before enabling the password protection area. Once you have enabled the password protection you can rename the file back to .htaccess but you also must locate the file called .htacl located inside the same folder and copy its content to the .htaccess file. You can do these changes using the File Manager (Site Options > File Manager) section of your Hosting Control Panel.