1

Topic: security - chmod 777 and so on

One of the main reasons I'm using pun is security. But I'm a bit worried about the folder that needs to be chmod 777. Do these pose any kind of security-risk? I don't want to allow anyone to write a script and run it from those folders.
I'm not very skilled in these matters, so any input is valuable, whether it's ideas on how to make it more secure or just to calm me down tongue

I especially wonder if the avatar-upload is secure enough?

Re: security - chmod 777 and so on

It doesn't have to be 777. Just enough so that the user who your webserver (and thus PHP) runs as can read and write.

"Programming is like sex: one mistake and you have to support it for the rest of your life."