var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How to restrict website folder access
I am Rookie, so please be gentle!! Thanks
I am creating my website and its hosted on lunarpages.com. If i type the folder address of any of my folders on my server.. I can see all the files which i can download etc.
How do i hide the folder contents so that no one can see the files. This should not restrict the website content from appearing correctly.
Will greatly appreciate your help.
Upload or create a file named index.html and either fill it with content or just make it an empty file
thanks for your reply. where do i go and change this access. my lost is using a cpanel. thanks.
Also, the site is working flawlessly. I know about index.htm. Just thinking about a little security here.
Last edited by kapil403; 04-26-2005 at 09:42 PM.
May want to setup password protection with .htaccess you can do this in cpanel.
I believe this can also be setup in httpd.conf
Edit your .htaccess to contain