Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    disable download

    Hi guys,

    I'm creating a website where there is a jukebox type feature, using .wma files. I'm trying to lock it down so that people cannot download these files.

    Please take a look at what i've got so far:

    http://www.tammydesigns.ca/jukebox.html

    the thing with this though... the files are still accessable in the history and the windows address bar cache.

    please help me out with some script to block users from being able to download.... or a brand new better idea altogether.

    i was also wondering if it's possible to have users create their own playlist.

    thanks so much for your help!

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,639
    Thanks
    0
    Thanked 649 Times in 639 Posts
    The only way to block them from being downloaded is to not upload them in the first place. Web browsers download all of the files needed for a web page before displaying the page.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

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