To programmatically configure the type of encryption used to store passwords in a Web application, use the System.Web.Configuration.AuthenticationSection class. This class is also used internally by System.Web.Security.FormsAuthentication in the processing of authentication tickets.