Hey guys,
I recently installed a PHP Gallery on my website, after trying out 4 others and either failing or not liking their functionality. I have an option on my gallery that allows users to upload their own images, but I don't know how safe this is for my site. For this to work I had to leave a folder open with full access (777'd it), otherwise the PHP script would fail because it could not write to that directory.
My question is, is this a bad idea to have a directory open to the public like I do now?
Should I look into a different form of user submitted pictures?
How can I reduce the security risks that my site may currently be experiencing?
I figured this was the best place to ask it because I'm sure all you PHP guru's have dealt with something like this in the past. Thank you guys.