In order to create CSV files using php, I have had to give the 777 permission to my folder /var/www/Proj.
It works fine. But my question is if this is safe? If this were a public domain, wouldn't it mean that anyone visiting this folder will have RIGHT permissions to it?
Any thoughts on this would be really appreciated.