Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 08, 2012, 09:54:56 AM

Pages: [1]   Go Down
  Print  
Author Topic: Play music samples but prohibit downloading.  (Read 945 times)
RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« on: June 25, 2010, 04:26:10 AM »

I want to put a list of suggested music (for weddings) on a website but in a way that the user cannot download any of them.

How do I do that?

Thanks!

Logged

Rick.
Trying to daydream, but my mind keeps wandering.
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5081



« Reply #1 on: June 25, 2010, 06:42:37 AM »

Like any resource (page text, CSS, image) audio has to be downloaded to play. Once it's on the thief's PC, they can take it. The easiest solution is to only provide brief exerpts, not the whole thing; just enough to let them know what it sounds like (tell them how long it is, too). If you want to go through a lot of work, perhaps you could embed the music into a larger bit of audio, with your descriptive narration (or "incidental noises" of a real wedding), and format it as Flash or Shockwave or something. It would be more difficult, but not impossible, to extract the music, and it would require cleanup to be usable. Just as with displaying images, it's a tradeoff of how much work you want to put into protecting the audio versus the damage done by piracy. It will be impossible to completely protect the material, but you can do enough to discourage theft by all but the most determined cheapskate.
Logged

RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« Reply #2 on: June 25, 2010, 07:04:17 AM »

Thanks MrPhil.  I see what you're saying.  What you suggest will work for me.  I'm doing a website for someone who is selling a wedding preparation book (and she has done well with hard copies) - and for her website she wants to offer "suggested music".

... so I'll just use Audacity to cut the mp3 down to a "sample", so people can hear a sample of it (the first minute or so).

Thanks, again!

PS.  Am I understanding it right that the only way to play music on a site in a way that the user cannot download it is to embed it into the page (using a script) so that it plays when the page opens)?

Logged

Rick.
Trying to daydream, but my mind keeps wandering.
scanman20
Über Jedi
*****
Offline Offline

Posts: 1520



WWW
« Reply #3 on: June 25, 2010, 11:13:08 AM »

Quote
PS.  Am I understanding it right that the only way to play music on a site in a way that the user cannot download it is to embed it into the page (using a script) so that it plays when the page opens)?
Nope. Even embedded music downloads to your computer, usually to a temp folder, and it still will exist on the client's machine. The only way to prevent someone from being able to play it is to offer a DRM protected file and well, I doubt anyone wants to deal with that.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5081



« Reply #4 on: June 25, 2010, 03:12:46 PM »

PS.  Am I understanding it right that the only way to play music on a site in a way that the user cannot download it is to embed it into the page (using a script) so that it plays when the page opens)?
Ugh. There's nothing more annoying than audio that starts when you open a page, especially if there's no way to quickly shut it off. In your client's case, a visitor may expect the music to start playing when they go to a specific page, so it wouldn't be so bad (or unexpected). However, as @scanman20 pointed out, it does nothing for security.

You might look into "streaming" audio, where the entire thing is not downloaded at one time. If someone wants to put in enough effort, they will be able to capture the entire piece of music with a special hacked player, but it will probably be a lot tougher.
Logged

RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« Reply #5 on: June 26, 2010, 06:28:26 AM »

Ugh. There's nothing more annoying than audio that starts when you open a page, especially if there's no way to quickly shut it off. In your client's case, a visitor may expect the music to start playing when they go to a specific page, so it wouldn't be so bad (or unexpected). However, as @scanman20 pointed out, it does nothing for security.

You might look into "streaming" audio, where the entire thing is not downloaded at one time. If someone wants to put in enough effort, they will be able to capture the entire piece of music with a special hacked player, but it will probably be a lot tougher.

I agree.  All I really want to do is put a list of suggest wedding music so that people can hear a bit of it.... so sounds like offering "bits" is the way to go.

Thanks for the help, folks.
Logged

Rick.
Trying to daydream, but my mind keeps wandering.
KanosP
Spacescooter Operator
*****
Offline Offline

Posts: 49


WWW
« Reply #6 on: July 15, 2010, 08:38:19 AM »

It is impossible to deny the user to download your music because they must download it (the player will download it for the user) in order to play. If you manage to create a play that stops this they can record the sound. I would suggest you to upload only 0:10 or 0:15 second mp3 files with "audio watermark" on them. (low audio quality or similar)
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: