how can i hide music address in web player?












0















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?










share|improve this question





























    0















    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?










    share|improve this question



























      0












      0








      0








      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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
























          1 Answer
          1






          active

          oldest

          votes


















          1














          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.






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            1














            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.






            share|improve this answer




























              1














              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.






              share|improve this answer


























                1












                1








                1







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 28 '17 at 2:17









                BradBrad

                114k27228390




                114k27228390






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Mossoró

                    Error while reading .h5 file using the rhdf5 package in R

                    Pushsharp Apns notification error: 'InvalidToken'