- Log into cPanel - Go to Files area - Click on Directory Privacy - Click on public_html - Select folder "eg, test" - Enable Password protect this directory - Enter a name for the protected directory - Click on Save - Create user and password - Click on save