Welcome Guest, Not a member yet? Register   Sign In
Downloading zip files and securing folders
#6

[eluser]bretticus[/eluser]
[quote author="Thomas Hunter" date="1252015554"]...put in a broken .htaccess file (or a valid file which prevents downloads) in the downloads folder.[/quote]

I have no qualms with putting it above the virtual root, but if you do need to put it in the virtual root (hosting config, preference, etc.) as Thomas suggests, the .htaccess file for that folder has very simple syntax:

Code:
deny from all


Messages In This Thread
Downloading zip files and securing folders - by El Forum - 05-28-2009, 08:29 AM
Downloading zip files and securing folders - by El Forum - 05-28-2009, 09:46 AM
Downloading zip files and securing folders - by El Forum - 05-28-2009, 10:31 AM
Downloading zip files and securing folders - by El Forum - 05-28-2009, 02:17 PM
Downloading zip files and securing folders - by El Forum - 09-03-2009, 11:05 AM
Downloading zip files and securing folders - by El Forum - 09-03-2009, 11:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB