HttpHandler to Authorize File Downloads – C# Code Sample

Its quite a common scenario to have a feature in a web site to check for the credentials of the user before allowing a particular download. For example, there might be some documents which should be visible only to a set of users and not to any others. This document might be anything – a…


.NET 2.0 Symmetric Encryption Code Sample

One of the most common problems when developing any web site if the need to use Symmetric Encryption to save some data in the Cookie so that it can be looped back to the user’s session / identity. .NET provides a very robust mechanism in which this can be achieved and supports the most well-known…