[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] about databse security on raq4
- Subject: RE: [cobalt-users] about databse security on raq4
- From: Brian Rahill <cobalt@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri May 2 19:05:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
At 08:54 PM 5/2/2003 +0200, you wrote:
> ...
> i have some CGI script installed in the website of my
> server..I would like to know how i can do for dont permit the
> access from the browser (by simply typing
> www.domain.com/folder/cgi/database.txt ) to > the flat database
> file store in some folder.
>
> If i place a index.htm file inside the folder i can limit the
> view of all file...but if somebody know the correct url of
> my database ??
I think
chmod 700 filename.txt
should take care of it. It will allow your script to write to it but not
httpd to view it.
Brian
--
Brian M. Rahill
President
RainStorm, Inc.
http://www.rainstormconsulting.com
"Designing Strategies for Internet Success."
brian@xxxxxxxxxxxxxxxx
Phone: 207-866-3908
Fax: 207-866-0297