how can i hide music address in web player?
How can I hide music address (music/stream.mp3)?
I don't want the listener to see the address of music and can download this!
I have a website for music stream and listener should not be able to download the music.
<audio controls>
<source src="music/stream.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Do I have to change the format or what?
stream html5-audio
add a comment |
How can I hide music address (music/stream.mp3)?
I don't want the listener to see the address of music and can download this!
I have a website for music stream and listener should not be able to download the music.
<audio controls>
<source src="music/stream.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Do I have to change the format or what?
stream html5-audio
add a comment |
How can I hide music address (music/stream.mp3)?
I don't want the listener to see the address of music and can download this!
I have a website for music stream and listener should not be able to download the music.
<audio controls>
<source src="music/stream.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Do I have to change the format or what?
stream html5-audio
How can I hide music address (music/stream.mp3)?
I don't want the listener to see the address of music and can download this!
I have a website for music stream and listener should not be able to download the music.
<audio controls>
<source src="music/stream.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Do I have to change the format or what?
stream html5-audio
stream html5-audio
edited Dec 29 '18 at 10:37
Matthieu Brucher
14.4k32140
14.4k32140
asked Aug 27 '17 at 18:50
Amin HosseiniAmin Hosseini
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
What you're asking for is impossible.
You cannot send data someone, expect them to decode it, and at the same time prevent them from decoding it.
Obfuscating a URL isn't going to do anything... it's trivial just to open your browser developer tools, debugging proxies, packet capture, or one of the hundreds of browser extensions to snag the source of the media and then download it. Even if you built your own transport mechanism, you still have to get that audio data to the browser to be played and a script can be easily injected to get it.
Don't bother with this.
What you can do is make URLs that are signed so that they only work for authorized users, and for a certain time period. If you're using something like S3 or a similar service, this is very easy to do. This doesn't prevent anyone from downloading stuff, but it will prevent your entire library from usefully ending up on a search engine... that is until someone downloads it and uploads it elsewhere.
What you have is a legal problem, not a technical one.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45908271%2fhow-can-i-hide-music-address-in-web-player%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
What you're asking for is impossible.
You cannot send data someone, expect them to decode it, and at the same time prevent them from decoding it.
Obfuscating a URL isn't going to do anything... it's trivial just to open your browser developer tools, debugging proxies, packet capture, or one of the hundreds of browser extensions to snag the source of the media and then download it. Even if you built your own transport mechanism, you still have to get that audio data to the browser to be played and a script can be easily injected to get it.
Don't bother with this.
What you can do is make URLs that are signed so that they only work for authorized users, and for a certain time period. If you're using something like S3 or a similar service, this is very easy to do. This doesn't prevent anyone from downloading stuff, but it will prevent your entire library from usefully ending up on a search engine... that is until someone downloads it and uploads it elsewhere.
What you have is a legal problem, not a technical one.
add a comment |
What you're asking for is impossible.
You cannot send data someone, expect them to decode it, and at the same time prevent them from decoding it.
Obfuscating a URL isn't going to do anything... it's trivial just to open your browser developer tools, debugging proxies, packet capture, or one of the hundreds of browser extensions to snag the source of the media and then download it. Even if you built your own transport mechanism, you still have to get that audio data to the browser to be played and a script can be easily injected to get it.
Don't bother with this.
What you can do is make URLs that are signed so that they only work for authorized users, and for a certain time period. If you're using something like S3 or a similar service, this is very easy to do. This doesn't prevent anyone from downloading stuff, but it will prevent your entire library from usefully ending up on a search engine... that is until someone downloads it and uploads it elsewhere.
What you have is a legal problem, not a technical one.
add a comment |
What you're asking for is impossible.
You cannot send data someone, expect them to decode it, and at the same time prevent them from decoding it.
Obfuscating a URL isn't going to do anything... it's trivial just to open your browser developer tools, debugging proxies, packet capture, or one of the hundreds of browser extensions to snag the source of the media and then download it. Even if you built your own transport mechanism, you still have to get that audio data to the browser to be played and a script can be easily injected to get it.
Don't bother with this.
What you can do is make URLs that are signed so that they only work for authorized users, and for a certain time period. If you're using something like S3 or a similar service, this is very easy to do. This doesn't prevent anyone from downloading stuff, but it will prevent your entire library from usefully ending up on a search engine... that is until someone downloads it and uploads it elsewhere.
What you have is a legal problem, not a technical one.
What you're asking for is impossible.
You cannot send data someone, expect them to decode it, and at the same time prevent them from decoding it.
Obfuscating a URL isn't going to do anything... it's trivial just to open your browser developer tools, debugging proxies, packet capture, or one of the hundreds of browser extensions to snag the source of the media and then download it. Even if you built your own transport mechanism, you still have to get that audio data to the browser to be played and a script can be easily injected to get it.
Don't bother with this.
What you can do is make URLs that are signed so that they only work for authorized users, and for a certain time period. If you're using something like S3 or a similar service, this is very easy to do. This doesn't prevent anyone from downloading stuff, but it will prevent your entire library from usefully ending up on a search engine... that is until someone downloads it and uploads it elsewhere.
What you have is a legal problem, not a technical one.
answered Aug 28 '17 at 2:17
BradBrad
114k27228390
114k27228390
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45908271%2fhow-can-i-hide-music-address-in-web-player%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown