4
First of all, it is good to mention that my doubt arises following another question that I put here in stackoverflow in pt and that can be read in: Web Hosting or Streaming Hosting?
I am developing a project that allows the user to listen (through a Avascript plugin) selected songs... The music/mp3 files are stored on the Server in a directory called "uploads". The idea is to prevent mp3 files from being stored by the user using the service...
Here is an excerpt from the source code of the page that is sent to the browser:
<script type="text/javascript" src="plugin_player.js"></script>
<!--Front-End -->
<h2>Músicas</h2>
<div style='' class='main_thumbnails' id='mainThumbnailsHolder'>
<div style='' class='thumbnail-wrapper'>
<img style='width:100%;' alt='...' src='./uploads/1405414353.jpg' border='0'/>
<button></button>
<div style='width:100%;' class='info-thumbanail'>
Artista: ... </br>Genero: ... </br>Tempo: ... </br>Publicado: ... </br>
</div>
</div>
<div style='' class='thumbnail-wrapper'>
<img style='width:100%;' alt='...' src='./uploads/1405413192.jpg' border='0'/>
<button></button>
<div style='width:100%;' class='info-thumbanail'>
Artista: ... <br>Genero: ...<br>Tempo: ...<br>Publicado: ... <br>
</div>
</div>
<!-- etc. -->
</div>
<!-- "Interface" onde o player (plugin javaScript) irá "beber" as dados... -->
<ul id='playlists' style='display:none;'>
<li data-source='playlist1' data-thumbnail-path='#'></li>
</ul>
<ul id='playlist1' style='display:none;'>
<li data-path='uploads/1405414353.mp3' data-thumbpath='uploads/1405414353.jpg' data- downloadable='no' data-duration='1:19:31'>string<p>
<span style='font-weitgth:bold;'> ::.....:: </span> - ::.Artista.:: </p>
</li>
<li data-path='uploads/1405413192.mp3' data-thumbpath='uploads/1405413192.jpg' data-downloadable='no' data-duration='3:19'>string<p>
<span style='font-weitgth:bold;'> ::.....:: </span> - ::.Artista.:: </p>
</li>
</ul>
I don’t know if I made myself clear, because the security of content on servers is a very complex area.
If a javascript system can get it, then any user can. You can try doing a streaming server instead of storing it directly in files. And yet, it can merely record audio from PC.
– Guilherme Bernal
Probably only using a player of its own and encoding the information in a different way than traditional (or encrypting, or using non-standard formats). And even then, a digital recording can still be made using a virtual audio output on the pc.
– Bacco