Directory Privacy

how can i protect my directory so that anyone can not goes directly in folder
i used directory privacy from cPanel but when i open website than i have to need id and password
i want that when anyone goes direct then 403 Forbidden error come.

Use .htaccess, add following line:
Options -Indexes

Thnx MrJunior
it’s working.