Re: restricting filesystem access
| From: | paragasu | Date: | Mon, 31 Mar 2008 11:11:25 +0000 |
| Subject: | Re: restricting filesystem access | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272335@lists.php.net to get a copy of this message | ||
> Thank you for the answer.
>
> I am running my site on a shared server, but I can overwrite the options
> in the php.ini file. Unfortunately php runs as my user, so changing the
> permissions to 644 doesn't work, php is still able to write anything.
>
> Gabor
>
ok.. your hosting enable the php suexec. i afraid there is not much you can
do to modified the php.ini. you may use ini_set() or the .htaccess to
override
the value anyway.
one thing you can do. sanitize input and make sure you code good :p