Hi,
On my site I have a random image script (rotate.php) located in the folder '/sites/default/files/top_random_images/'.
Now drupal is blocking this script from running with the following line in a htaccess file.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
I do not want to just remove this line and allow everything, but I do want to allow this specific script only to run.
Is there a way of achieving this?
Thanks,
Dave
Comments
Comment #1
mikey_p commentedI would recommend moving the file from the files directory to just sites/default, as there is always a chance that allowing executables in files is a risk, as you never know when a user could try to upload a similarly named file.
Comment #2
Anonymous (not verified) commentedHi
I am closing this issue due to old age. Feel free to reopen it.