Hello I have a 777 folder in which users upload files. I want to block execution of maliscious scripts such as PHP or Perl. How can I do this? Thanks neox182
place a .htaccess file in the dir you want to deny script execution with this AddHandler cgi-script .php .pl .jsp .asp .sh .cgi Options -ExecCGI
You've got nice answers here, +1 for this one: And since your are accepting uploads I would recommend they you be veru cautious with file names, and refuse files that start with a dot "."