Question

Should I allow to user upload images in my Laravel4.2 public folder

Posted March 3, 2015 1.4k views

I think DO provide 20 GB storage if I allow to user to upload images in my public folder ,may be in future my storage may be reach to 5gb and my project file increase so , its ok or to allow to user upload images in my public folder

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

You certainly can allow users to upload content to your droplet. It is important to ensure that you do so in a secure way (usually by setting up a sub-folder with proper permissions to prevent any mischief).

Submit an Answer