|
Posted by Mark Parnell on 09/15/05 08:20
In our last episode, Jason <none@none.invalid> pronounced to alt.html:
> Hello, Is it possible to add a link on my website that when clicked can only
> be saved and not opened.
You can suggest it via the content-type HTTP header. Details on how to
do this depend on your server. But it's only a suggestion, and the user
still gets to choose what to do with it.
> http://mysite.com/content/cast2.mp3 - and instead of a window opening up
> with both SAVE and OPEN, I want open not to be avaialbler.
But it's not about what you want, it's about what your visitor wants. He
may have configured his browser to play mp3s in a plugin embedded in the
browser - so it may not even ask him what he wants to do with it. He may
have configured it to play in a separate program, or he may want to
download it and play it later. But the choice is his, not yours. And, no
- you can't disable one of the options on the browser message, assuming
the browser does actually show some sort of message.
> Is this possible?
No. Ultimately control always rests with the end user. If you don't want
people playing your mp3s, don't make them available on your site.
--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
Navigation:
[Reply to this message]
|