Quick question
I want a .php script to write deny rules to my .htaccess file in the event an IP trys to access an area of my webserver.
.php runs as a the apache user. Is there any security risk to allowing the apache user to write to the .htaccess file?