in reply to How to prevent database from listing/viewing?
chmod 600 database.txt (owner can read and write, the others can do nothing)
if you try to read http://www.yoursite/cgi-bin/database.txt
you will get a Forbidden alert and a log in your logs file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to prevent database from listing/viewing?
by santander (Acolyte) on Dec 03, 2004 at 18:11 UTC | |
by santander (Acolyte) on Dec 04, 2004 at 19:35 UTC |