Forms authentication using ASP.NET 2.0 and VB.NET

Forms authentication enables user and password validation for Web applications that do not require Windows authentication. With forms authentication, user information is stored in an external data source. You can require that all requests to an application contain a valid user authentication ticket by...

Validating with RegExs using ASP.NET 2.0 and C# .NET

The .NET Framework offers a number of controls that simplifies the process of validating user input on a web form. One such control is the RegularExpressionValidator. This control allows you to specify an arbitrary regular expression to validate the input to any one control. To perform RegEx validation...

Encrypting configuration sections : Bipin Joshi

Encrypting configuration sections Developers often store confidential information the configuration files. Database connection strings, user names and passwords are some of the examples. One of the requested feature during ASP.NET 1.x days was to provide some way to easily encrypt and decrypt such information...

Adding Client Side functionality to Custom Controls : ali sakhi

In the previous tutorial we added the server side validation functionality to our textBox. In this tutorial we will add the client side validation functionality to our textBox. This tutorial consists of two Parts A and B. In part A we will learn how to use Page.ClientScript property which returns ClientScriptManager...

Sandboxing Gotcha in a Partially Trusted App : Don Kiely

One of the three basic ways to build an ASP.NET Web site with partial trust is to use the sandboxing method, which provides enormous flexibility for how you protect your application. Our resident security expert recently had occasion to use this combination technique. It was a more painful experience...