Wednesday, January 13, 2010

How to hide a specific file in your parent directory on your website?

I'm using Xampp and I'm hosting all of my movies and music. To stream videos it requires the addition of a .html that has html code of a type of media player in it. But it requires to have the .avi in the same folder. How can I make it so they just see all my movies .HTML and the .AVIs are hidden? I don't want to see two of the same name. Thanks guys. = )How to hide a specific file in your parent directory on your website?
Use .htaccess to keep people from *seeing* anything. All they need direct access to is the name of the site, not the files in it. If you want to let them choose movies, put links to the movies in the html file. Users should not be able to list the files on your site.





(BTW, if these are copyrighted movies, your site will be closed down quickly, and you could get a visit from the ';black helicopters';. It's VERY illegal.)

No comments:

Post a Comment