View Single Post
  #9 (permalink)  
Old 07-06-09, 10:19 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by digioz View Post
What I have done in the past to prevent this from happening is to place the videos outside of the web directory (wwwroot or htdocs or public_html), and then write code to read and show the video for the user from that outside directory only if they are logged in.

I actually have the code for both PHP and ASP.NET. Let me know if either of those two would help you and I will be happy to post what I have for you.
I'd be interested in the PHP code, if you don't mind sharing.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote