When reading through questions and answers regarding maintaining security when allowing users to upload files to your server, some of the answers said to store the file in a location not accessible by a browser, and "above the document root".
If I had a site running in 'var/www/' such as:
var/www/MySite/Index.html
Does "above the document root" mean above the MySite folder, but still in the var/www folder, or does it mean in a seperate location from var/www altogether, somewhere else entirely on the server host's file system?
Also, why is it that making a file innaccessible from a browser makes it more secure? Thanks.