Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
block folder file list from web
Old 02-01-2009, 06:09 PM block folder file list from web
Junior Talker

Posts: 2
Name: Greg
Trades: 0
Hi,
I would like to know the best way to block people on the web from seeing the files in a folder...it is a unix server...

i used to put a index.htm file in the folder but will that block a list of the files?

Thanks

lilabner
lilabner is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-01-2009, 06:15 PM Re: block folder file list from web
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Yea, it would.

Another method is to put a file called .htaccess in the directory with the following:
Code:
Options -Indexes
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 02-01-2009, 07:06 PM Re: block folder file list from web
Junior Talker

Posts: 2
Name: Greg
Trades: 0
hi mark! thanks for that quick response..

I was thinking there was some other file..

i noticed when i setup a password protected directory using my control panel that the .htaccess file is automatically generated by the server for password authentication..

i have a lot of zip files i dont want anyone to see after they are uploaded..

thanks

Greg
lilabner is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to block folder file list from web
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.52229 seconds with 12 queries