Password protection
Protect part of your website
There are two ways to restrict an area of your website so only authorised users can open it.
Recommended
Use Password Protected Directories
The simplest option is the Password Protected Directories feature in the control panel. This is the recommended approach for most users.

Advanced
Upload access-control files
The more advanced option is to upload pre-generated .htaccess and .htpasswd files to the directory you want to protect.
Advanced configuration
Creating these files is beyond the scope of this guide. Incorrect rules can prevent visitors from accessing the website.