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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david at acz dot org
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 06:01:29 2024 UTC