how to secure php for web hosting/sharing ??

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
dgx2208
Forum Newbie
Posts: 1
Joined: Mon Jul 11, 2011 10:15 pm

how to secure php for web hosting/sharing ??

Post by dgx2208 »

Hi,

My web server needs to share for different depts. (http://myorg/depA for dept. A & http://myorg/depB for dept. B). They have their own webmaster.
They will use mysql database and therefore some of the php files will have sql id and password (sensitive data).

How can I avoid the webmaster of dept A to read the sensitive data (php file with sql id and password) in dept B by using php code ?? Is it possible that webmaster of dept A to write php coding to read all files under dept.B ??


Is there any php securityr guidline for web adminstrator?? I would like to check whether my site setting is scecurity enough, but don't know how as I am not good in php programming.

Any comments are appreciated.

Thanks,
Dgx
Post Reply