[ILUG] PHP, MySQL and Users...

David Oggs dogs at wind.voyager.ie
Fri Sep 22 23:25:24 IST 2000


Hi,

I'm helping set up a college box, and we were hoping to give users the
ability to run (safe mode) php scripts and give them mysql accounts. The
problem I'm having is how to keep mysql authentication details secure.
Even if a script can only be read from the filesystem by the owner of the
file and the group that php runs as it doesn't prevent another user
from open()'ing it from another script. I think what I'm after is some
way of making a suid php script, I remember seeing this before for
perl and apache, just not too sure how to go about it with php+apache. And
the usual searches were'nt very helpful. 

Any help appreciated :)

Thanks,

dogs at devfoo.net




More information about the ILUG mailing list