Re: [PHP] PHP shell commands

2008-01-12 Thread Lucas Prado Melo
On Jan 12, 2008 4:12 AM, Andrés Robinet <[EMAIL PROTECTED]> wrote: > I guess what you are looking for is mod_suphp. STFW or ask the list, someone > will give you good hints for sure (sorry, have little time right now). > > Rob Thanks, I will take a look. -- PHP General Mailing List (http://www.php

Re: [PHP] PHP shell commands

2008-01-11 Thread Lucas Prado Melo
On Jan 11, 2008 9:28 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > > What feature would you think about adding to it? > I think we should be able to set (editing httpd.conf in apache) which folders are visible to any php script (including shell commands written in it). So, we could use Directory tags

Re: [PHP] PHP shell commands

2008-01-11 Thread Lucas Prado Melo
Where should I look for further help about mod_php? How do I beg to someone add a feature in mod_php? On Jan 11, 2008 8:00 PM, Nate Tallman <[EMAIL PROTECTED]> wrote: > To fix this scenerio, chroot would require different apache processes > running under different users. -- PHP General Mailing L

Re: [PHP] PHP shell commands

2008-01-11 Thread Lucas Prado Melo
On Jan 11, 2008 2:16 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > Make sure you change the permissions on the directory in which > uploads are saved to be non-readable by anyone (including yourself, in > case the scripts are suexec'd). > > For example, if the directory in which you save up

Re: [PHP] PHP shell commands

2008-01-11 Thread Lucas Prado Melo
On Jan 11, 2008 9:33 AM, Bipin Upadhyay <[EMAIL PROTECTED]> wrote: > Lucas Prado Melo wrote: > > Hello, > > Some php applications store database passwords into files which can be > > read by the user www-data. > Why not keep them out of the web tree and inform the ap

Re: [PHP] PHP shell commands

2008-01-11 Thread Lucas Prado Melo
Suppose we were using apache webserver. I think obfuscation won't work since with some work a user could read the password. How to encrypt/decrypt the password? On Jan 11, 2008 3:37 AM, Chris <[EMAIL PROTECTED]> wrote: > Not too much really. > > The webserver needs to be able to read a config file

[PHP] PHP shell commands

2008-01-10 Thread Lucas Prado Melo
Hello, Some php applications store database passwords into files which can be read by the user www-data. So, a malicious user which can write php scripts could read those passwords. What should I do to prevent users from viewing those passwords? regards -- PHP General Mailing List (http://www.ph