[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Protecting Directories



Hello TrooperPX,

Sunday, January 14, 2001, 4:43:50 PM, you wrote:

Tac> I am the only one to be updating my sites.  I do not want anyone uploading 
Tac> anything to my site.  I do not want visitors viewing my directories (through 
Tac> FTP or otherwise) or content, without knowing an exact html.  If they type in 
Tac> just the domain name, they will get the index.  But if they type in a folder 
Tac> name, I don't want them seeing into it, unless they know a residing html (eg. 
Tac>  www.mydomain.com/images/ = no directory, but 
Tac> www.mydomain.com/images/events.html = they can get to the page.).  On my old 
Tac> ISP, this was possible.  Is it possible on the Cobalt?

To disable Web directory browsing, you can turn off "Indexes".

Add a .htaccess to the www directory/site you wish to turn off this
feature for with the following line in it:

Options -Indexes

If you feel brave, you can also add this to Apache's config files and
turn off directory browsing server-wide.

As for FTP browsing/uploading, don't give anyone the FTP password as someone
already stated.

-- 
Best regards,
 Brian Curtis