To set password protection on your site folder, please follow the instructions below
1. Login to your hosting control panel-->Security -->Passowrd protect
2. Add Site Users in 'Step1 - Manage Users'
3. Select the folder which you would like to have password protection, and then click 'Create' button
4. Grant permission to the new user which you just created to the folder