advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
HTTP Handlers and URL Rewriting
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
CoDe Magazine
Subscribe to CoDe Magazine
 

Protect Your Downloadable Files Using HTTP Handlers

This article attacks a problem for which I have heard many solutions: How can you offer file downloads on the Internet and protect them from unauthorized downloading?  


advertisement
o you finally have a product to sell, and a site to sell it on. But wait; how do you prevent unauthorized users from downloading your products? Forms Authentication provides only part of the solution. In this article, I'll show you how to prevent specific users from accessing specific files on your site; even by browsing directly to them.


There are many answers to this problem, but some carry their own problems. In this article, I'll review some of the techniques commonly used by software vendors, and then show you my solution. I should tell you that my solution is not a Miguel Castro original; it is, in fact, used by many ASP.NET sites—don't ask me how the Java guys do it.

It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



© Copyright Component Developer Magazine and EPS Software Corp., 2009
advertisement