Question Locked

The best way to diguise a file on a web site ?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm looking for a way to prevent the files on a restricted portion of a website from being accessed by copy and pasting the url to that file or bookmarking it.

I have a solution for the html files but the PDFs, MOVs and swf's are still accessable.

5 replies

by older mycroft

You have files that inhabit a restricted area

You have users pasting the file's URL

Question: - if the area is 'restricted' how do the users get the URL of the individual files?

[i]Just curious.[/i]

by jfcomputecsrv

Once the member logs in he can Copy and Paste the URL to someone, or if his membership is out of date and he has copies of the URLs stored he will still be able to access them.

by slayer_

Google is your friend :)

I searched it up once to block people from downloading MP3's from my site, I wanted my site to give the rudest redirect possible to those people that leech from various new websites that search the web for open Mp3 downloads. To be honest, I was damn near tempted to replace the MP3's with virused versions and let those websites feed them out to everyone. But I havent had an mp3 virus in a very long time, so I got none at my disposal :( and I don't know how to make my own.

by robo_dev

Basically you're trying to prevent forced browsing, and you either build the web page such that html is used for everything, or you build those restrictions into the server configuration, such that the web server does not hand out those files.

With ASP, for example, to define mp3 files to be recognized/restricted by the web server itself:

You do the same with your .htaccess file on the Apache side of things:

http://ryanfait.com/resources/protect-flash-files-from-download/

This discussion is closed to new replies.