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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu Apr 25 13:01:30 2024 UTC