Quote:
Originally Posted by webspider
Yes. Something like this should work.
<FilesMatch "\.(zip|rar)$">
Deny from all
</FilesMatch>
Or if you are not displaying images you could simply use:
Deny from all
|
Ahh, thats what i'm looking for. What i've just noticed though is, cause i have alot of files linking to the download directory (i didn't upload using the script, so had to link using url address). The script isn't serving the download, just linking to it. Anyway around this e.g. if the referrer is local (my domain) they can have direct access, else forbidden?