Protect .zip and .exe Files on Your Server Using an HttpHandler - Part 1
By: Heidi Bautista on Monday, October 4, 2004
Reader Level: 
Forms authentication is a clever way to protect resources within specified folders of your website. The problem is, by default only ASP.NET resources (e.g., .aspx, .asmx, .ascx, .asax, .config files plus a couple others) are protected. But what if you have .zip files or .exe files in those folders as well? If not explicitly protected, users who know the location and name of the .exe or .zip file can simply browse to the file and download it from your server. Not a happy situation. Fortunately, there's a solution. In this two-part article, you'll learn how to protect non-ASP.NET resources. By the end of Part 2, you should be able to extend the paradigm to protect other types of files, as well.
Purchase this item
You can purchase this piece of content separately for
$2.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.



