I am working for a website where users can upload images.For security reasons i have read is good to place the folder with uploads outside of root directory,to not execute php scripts or viruses.
I am on my dedicated server.
I understand i must create a folder Uploads not within public_html. Will be parallel with public_html, .htpasswds, mail, public_ftp.This will be a folder outside of root.
It is correct? What path i will display in html code to display images?
Thanks