Jump to content

how to stop users from downloading my mp3 files?


yami007

Recommended Posts

hi,

 

somehow, i dont want the user to download mp3 files from my website.

they cant download from my mp3 directory, but internet download manager and its alike can via the flash player.

so when idman tries to capture the mp3 file i want to change the extension mp3 to html, just like php does when it turns to html extension.

 

looking for help !!

If this is your hosting environment i.e:

 

/public_ftp/

/public_html/

/cgi-bin/

 

Then your web files are located in /public_html/ and are all accessible publically.

This is where you do not want to store your mp3 files or users can just use http://www.yourdomain.com/mp3/xyz.mp3 as an example.

 

If you do the following:

/public_ftp/

/public_html/

/cgi-bin/

/mp3/

 

Then users cannot access this directory publically. If the mp3 files are for download then you can write a download script on your website that grabs the file from outside of your website document root.

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.