(For files you don't want people to access or steal) Do you upload your files to the public.html directory or do you upload it outside of the public.html directory. Is it a good idea to upload all your files (html, .exe, zip) to the public.html directory. Any suggestion would be appreciated. Thanks
If you want people to see the files such at index.html then put them in or above the public-html or if you dont want people to see them put them below the pulic-html. I hope this helps.
What about downloadable files like .exe or zip files. Should I put them outside of the public.html directory.
Depends on how you deliver downloads, I tend to keep downloadable files within the web root (e.g. public_html) and manage security with htaccess and/or server side scripting.