[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] protecting text files in my cg-bin directory from prying eyes
- Subject: RE: [cobalt-users] protecting text files in my cg-bin directory from prying eyes
- From: dan@xxxxxxxxxxxxx
- Date: Mon Oct 23 14:18:29 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
2 - Put this line within the .htaccess file: Options -Indexes
3 - Save and upload this file to your directory /home/sites/site##/web/
That will only stop the listing of a directory index. The problem, IIRC, was
that if you knew the file was called log.txt you could go to
www.domain.com/cgi-bin/log.txt and read the file. A lot of us are lazy and
when using common scripts the paths and defaults remain.
I think the idea of placing the data files for any script in
/home/sites/site#/dir instead of /home/sites/site#/web/dir is the best way
to go.
--
Dan Kriwitsky