While setting up my webserver I gave all my public folders 777 permissions with filezilla, I found out that this is very bad because everyone can put stuff in that folder at the moment. I have a website that has a fileupload form (laravel). I searched a bit around and found out I had to give the 'www-data' user the appropriate rights to write files.
So what is the www-data user? is it an user generated automaticly.
When changing permissions with an ftp client like filezilla to 777 whos permissoins am I setting ?