i have some indexed document files ( .doc , .docx and .pdf ) stored in a folder in the website.
when i type the full address of the file ( ex http://www.website.com/folder1/folder2/1.doc ) the visitor or any body who is viewing the website can easily download the file.
are there any way to prevent this. are there any configuration has to be done to the .htaccess file to prevent this from happening.
also if folder2 contains only document file, how can i prevent a listing of the files inside this folder in case apache stoped running.