[solved] Re: [PHP] phpMyAdmin, suhosin, proper solutions
| From: | Michael A. Peters | Date: | Mon, 06 Apr 2009 01:31:29 +0000 |
| Subject: | [solved] Re: [PHP] phpMyAdmin, suhosin, proper solutions | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291107@lists.php.net to get a copy of this message | ||
Michael A. Peters wrote:
Chris wrote:Yes - you can (well, I didn't try in .htaccess - I did so in the apache config file itself). That solves everything :) <Directory "/srv/shastaherps/phpMyAdmin-3.1.3.1-english"> AuthUserFile /somesecretpath/.htpasswd AuthType basic Require valid-user AuthName "Authentication Required" php_flag suhosin.executor.disable_eval Off </Directory> At least that works (allowing me to disable eval everywhere else) - so I'm guessing it should work with the other stuff as well. Thanks for the suggestion, I just assumed it wouldn't work as changing suhosin stuff via ini_set doesn't seem to work (understandably).I don't think you can change suhosin directive in a .htaccess file.Yes, I read the documentation on how to make them play nice, and to me it is unacceptable to change suhosin settings intended to protect my users and my site from a malicious user so that I can use a web app that is not open to the public.No idea what the problems are (couldn't find a list of what the problems are) but Can you change the suhosin settings with a .htaccess? With the apache htpasswd protection it should be ok to disable some stuff for a particular directory.