How do i make my webhost directory more secure?

Soldato
Joined
1 Dec 2004
Posts
23,079
Location
S.Wales
Im with TSO host, and at the moment people can see what files I have uploaded to my server.

How I stop them from browsing the contents of my directories and just have access to my website and certain files which i link on the website?
 
Create a file called .htaccess in the directory you want to protect and add Options All -Indexes to it. This will prevent people from being able to view the directory contents.

I think there's also a way of doing this via cPanel as well, but I can't remember.
 
Back
Top Bottom