View Single Post
  #7 (permalink)  
Old May 4th, 2007, 18:23
Corey Bryant Corey Bryant is offline
SuperMember

SuperMember
Join Date: Aug 2003
Location: Castle Rock, CO
Age: 36
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Making some hyperlinks that are none downloadable/right-clickable

Glad it worked out.
Quote:
Originally Posted by acrobat View Post
One problem though, is that it puts the songs in a /media sub-folder on the web server. I noticed that if you type in my url, and then add /media and type in the name of the song, it lets you download the song. I need to stop this some how.
How did you get the URL? Did you know the URL or did you look at View source to get it?
Quote:
Originally Posted by acrobat View Post
Could anyone tell me the best way of doing that please? I dont mind using java script, but I would ideally want to do it as simpley as possible - yet secure.
JavaScript won't really help. You can try using an ASX file - which is a text file that contains a link to the media file - but it seems you are reliant a lot on Frontpage.
Quote:
Originally Posted by acrobat View Post
I am happy to nearly nail this now, but I have to secure that folder so people can't download the songs.
Don't put it on the internet if you don't want people to have them. There is always going to be a way around it. It sounds like you want a DRM solution.

And example of an ASX file is
Code: Select all
<asx version = "3.0">
  <entry>
    <ref href = "mms://www.example.com/filename.mp3"/>
  <Title>Title</Title>
  <Author>Author</Author>
  <Copyright></Copyright>
  <Banner></Banner>
  </entry>
  <Title>Title</Title>
  <Author></Author>
This might have changed some but it worked for one demo that I did
Reply With Quote