[PHP-DB] Security question [was Searchable/Sortable Database Fields with MySQL/PHP]

2005-07-13 Thread Jeffrey
This is an issue I've been thinking about for an application we are developing. Is it worth encrypting data on the database tables when anyone who can access the application itself - or better still the server - could readily access the encrypted data? Assuming SSL connections, secure

Re: [PHP-DB] Security question [was Searchable/Sortable Database Fields with MySQL/PHP]

2005-07-13 Thread Micah Stevens
Assuming they have access to the PHP files, all decoding keys would be available there, so while encrypting the database would definitely slow up the attacker, it would only do so until they discovered the decoding method. Any experienced hacker would find this in no time. If you pre-compile

[PHP-DB] User authentication and redirect

2005-07-13 Thread Vinny Lape
I am trying to make a login script that will check a mysql db for usernme, password and location. If user validates then look at db entry location then redirect to mydomain.com/location/index.php Anyone have an idea about this? Thanks Vinny -- PHP Database Mailing List (http://www.php.net/) To

Re: [PHP-DB] User authentication and redirect

2005-07-13 Thread Micah Stevens
if (authorized($user)) { header(Location: http://mydomain.com/$user/index.php;); } On Wednesday 13 July 2005 1:13 pm, Vinny Lape wrote: I am trying to make a login script that will check a mysql db for usernme, password and location. If user validates then look at db entry location

Re: [PHP-DB] User authentication and redirect

2005-07-13 Thread Alain Rivest
Vinny Lape a écrit : I am trying to make a login script that will check a mysql db for usernme, password and location. If user validates then look at db entry location then redirect to mydomain.com/location/index.php Anyone have an idea about this? header(Location: /somewhere/index.php) ;