php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #37000 Suggestion for improving Database Security chapter
Submitted: 2006-04-06 16:19 UTC Modified: 2009-05-08 17:27 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: david at acz dot org Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-04-06 16:19 UTC] david at acz dot org
Description:
------------
It would be helpful for the Database Security chapter to discuss security in a shared hosting environment.  Under a typical Apache / mod_php setup where PHP scripts all run as the Apache user, any user can read any other user's PHP scripts and thus capture any database authentication information.  It may be possible to mitigate this with safe mode, but not if the server allows running other types of CGIs.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-08 17:27 UTC] danbrown@php.net
This isn't so much a database issue as it is a permissions issue.  As 
such, the permissions and security are inherited by the operating 
system's own security (or lack thereof), and thus goes beyond the scope 
of the PHP manual.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 04:01:26 2019 UTC