SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Best way to protect audio clips from being downloaded

    I'm not sure where to post this, but what is the best way prevent downloading audio clips that can be played.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,195
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Well, to listen to audio in your browser, you have to download it. There are so many browser add-ons out there for downloading the file to your computer that I think it's barely worth trying to prevent it. Basically, if you want to protect it, don't put it online.

  3. #3
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    You can use rtmp streaming via a flash player, which doesn't cache in any way. There are applications that can still rip the stream, but these can be defeated with some extra coding if you really want to expend the effort.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,195
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Even my simple screen recording software will capture the audio.

  5. #5
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    True, there's no way you can avoid that. Most of the audio stock libraries online either overlay a periodical sound or use lower fidelity audio to get around this.

  6. #6
    SitePoint Wizard silver trophy Crazybanana's Avatar
    Join Date
    Mar 2003
    Location
    In tha fruit cellar
    Posts
    1,379
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    Your best option will be rtmp streaming, but as people above said, this won't give a good protection - but nothing can.

    As long as the sound can be played, it can be recorded from your soundcard as it passes by - there are plenty of sw out there to do this.
    Who's to doom when the judge himself is dragged before the bar


  7. #7
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you

    I will look into rtmp streaming.

    I realize it is impossible. We are trying to make it more difficult. IE: not be able to right click to download the track.

    Michael

  8. #8
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Before you consider disabling right click, consider that right clicking a link does more than allow the user to save as. It also allows the user to open the clip in a new tab or a new window. Whenever you try to change the default actions of your visitors' browsers, you are going to irritate them, so always consider providing a satisfactory user experience first.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  9. #9
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The right-click is disabled within the flash play button only. It plays 5 second sound clips. It's hard to imagine a reason to access the context menu in this instance and it is acceptable loss if 1 in a million power users find this a little irritating.

  10. #10
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,813
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by eruna View Post
    The right-click is disabled within the flash play button only. It plays 5 second sound clips. It's hard to imagine a reason to access the context menu in this instance and it is acceptable loss if 1 in a million power users find this a little irritating.
    Anyone who finds it irritating can simply disable the code you used to try to block their access. The browser owner has full control of what can and can't be done in their browser.

    Those you are specifically trying to block will definitely bypass your code. Only a few web newbies who use the context menu as their means of navigating the web will actually be impacted by your code.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  11. #11
    SitePoint Addict bronze trophy vectorialpx's Avatar
    Join Date
    Dec 2012
    Location
    Bucharest
    Posts
    247
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Add an audio "watermark", like Envato does - check http://audiojungle.net


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •