in reply to Re: How to prevent database from listing/viewing?
in thread How to prevent database from listing/viewing?

Yes, this is webserver issue. I undersnad now, just change this path. Or another way, may be, rename database to something.txt (it's hidden in the script no nobody can find it)or change extension, like database.pl
Will this work also?
  • Comment on Re^2: How to prevent database from listing/viewing?

Replies are listed 'Best First'.
Re^3: How to prevent database from listing/viewing?
by elwarren (Priest) on Dec 06, 2004 at 16:44 UTC
    I hadn't thought about renaming the file, but that could work. My webserver is configured to not serve files that are named beginning with a dot. This is to prevent the .htaccess .htpasswd .listing maintenence type files from being served to the world. Again, this all depends on your server setup, but you could try renaming the file to .database or something.

    HTH