
August 30th, 2011, 04:18 PM
|
|
|
|
I've never worked with firebird myself, but typically the password stored in the database is used by the daemon process to authenticate connections to the database. To protect the database files themselves you,
(A) Don't permit access to the server from the internet, only from the CGI server/application server/etc. that uses the database.
(B) Create a separate user account just for the database and set file permissions so that only the database daemon has read/write privileges to the database files.
(C) Don't put the database files where an FTP/HTTP/etc server has access to them.
Or preferably, all the above.
And it's never a bad idea to avoid storing sensitive information in a database that can be accessed over the internet.
__________________
sub{*{$::{$_}}{CODE}==$_[0]&& print for(%:: )}->(\&Meh);
|