Follow the below steps to Password Protect a directory in control panel (cpanel):Step 1: Login into your hosting