Hi
I want to restrict people form downloading .mp3 files form my server? how can i do so? can i do this using .htaccess file.
My server has .mp3 files and I don't want people to download them.
Please tell me any solution for it.
thank you
stoping download
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Not having them on the server?
Placing them outside of the web root makes it quite difficult for someone to browse to them. .htaccess would only prevent a web browser from gaining access to them; if you have any scripts that provide download interfacing and they are not sufficiently locked down they will provide facility to download any files on your server.
Placing them outside of the web root makes it quite difficult for someone to browse to them. .htaccess would only prevent a web browser from gaining access to them; if you have any scripts that provide download interfacing and they are not sufficiently locked down they will provide facility to download any files on your server.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact: