Forum Moderators: coopster
Thanks
-Doc
a) Create only one directory that is writeable and make sure its not reachable from the web (diff server folder, not under docroot)
b) Don't 777 but just give apache group permission to write to it (chown apache.apache foldername)
c) Filter file extensions on upload. Have your upload form only accept certain file extensions and block everything else from being uploaded. Look out for null bytes in file extensions when checking.
I'll have to look into the apache permissions. Problem is we have a whole server full of virtual domains but I'm only allowed to work on one particular group (and I'm using Cpanel) so I'm limited in what I have available to me.
Thanks for the tips.