note 18516 deleted from function.mysql-connect by philip
| From: | philip@php.net | Date: | Fri, 24 May 2002 15:19:41 +0000 |
| Subject: | note 18516 deleted from function.mysql-connect by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30985@lists.php.net to get a copy of this message | ||
One way to increase security for business applications is to authenticate against the database,
something like:
mysql_connect ("localhost", $username, $password);
where $username and $passwords were originally passed to the application over a secure form and
stored as session variables. This is particularly useful if you need fine-grained access controll
(you can let the db engine police the db files,etc).