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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!