ORM
ORM

Reputation: 465

How to protect website resource from downloading?

Like this .mp3,you can listen online:

http://d1.s.hjfile.cn/podcast/20100222/2010022290717093_217.mp3

But I don't want to allow downloading.

How to approach that?

Upvotes: 7

Views: 489

Answers (4)

Carlos Gutiérrez
Carlos Gutiérrez

Reputation: 14272

You could encode the mp3 to swf. The users can download the swf but can't load it in their ipod, if that's your concern.

(Link is to a commercial product I found using google, but probably there are free alternatives)

Upvotes: 0

Asaph
Asaph

Reputation: 162801

You can't have your cake and eat it too. If your users can listen to it, they can capture it to a file. You can make it less convenient by using a streaming protocol but a determined user can still capture the audio stream and save it to a file.

Upvotes: 1

hodgesmr
hodgesmr

Reputation: 2785

Could use a Flash audio player.

http://www.macloo.com/examples/audio_player/

It will just play the song but not let them save it. There's always means to bypass, but it's a good start.

Upvotes: 1

Matthew Flaschen
Matthew Flaschen

Reputation: 284816

Anything that can be streamed can be downloaded. There is no reliable way to prevent this. Look at all the downloaders for YouTube and Hulu, despite their efforts to prevent them.

Upvotes: 3

Related Questions