|
I only allow certain extensions for my upload script (rar, zip, exe, dll, ini). But... someone decided to upload something called "blah.php.ini", and promptly owned my entire website.
If I only allow rar, zip, and exe, will that solve my problem? Why is it executing code even though the ini extension is on the end? Is there anything I can do with htaccess?
|