Requiring a Security Question and Answer : providers « Authentication Authorization « ASP.NET Tutorial






File: Web.Config

<configuration>
  <system.web>
    <authentication mode="Forms" />

    <membership defaultProvider="MyMembership">
      <providers>
        <add
          name="MyMembership"
          type="System.Web.Security.SqlMembershipProvider"
          connectionStringName="LocalSqlServer"
          requiresQuestionAndAnswer="false"
          />
      </providers>
    </membership>

  </system.web>
</configuration>








21.13.providers
21.13.1.Configuring Create User Form Fields
21.13.2.Sending the Original Password
21.13.3.Requiring a Security Question and Answer
21.13.4.Using Templates with the PasswordRecovery Control