php - how to enhance security on the files that they cant be access in the browser like audio mp3 and video flv


i am developing music portal who will work on the subscrption bases. so user will be able to download and play audios files. i am having number of security different issues in implementing this: First: if i install IDM - it automatically download this audio/video in the software. Second: any one accesses the file in the browser and plays it and so download it with the help of link.

How can i ensure high level security for this purpose. i am confused please.

I have used different codes to hide links but none of them works for me. i want to hide links of the path as well.

I tried:

<script type="text/javascript" language="javascript">
function unloadJS(scriptName) {
  var head = document.getElementsByTagName('head').item(0);
  var js = document.getElementById(scriptName);

function unloadAllJS() {
  var jsArray = new Array();
  jsArray = document.getElementsByTagName('script');
  for (i = 0; i < jsArray.length; i++){
    if (jsArray[i].id){

but it is also not working as expecting and it is too showing all links and etc..

People are also looking for solutions to the problem: php - Sphinx:Server sent charset unknown to the client. Please, report to the developers


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.