login - Blocking a user in Asp.NET -


i'm developing website in asp.net users can register , login. want block users 10 mins , after introduce wrong password 3 times.is there other solution excepting membershipprovider ? tried implement it, failed. after introduce in web.config, code below, else should ? thanks.

<membership       defaultprovider="mymembershipprovider">       <providers>         <clear/>         <add name="mymembershipprovider"              type="mymembershipprovider"              autogenerateschema="true"              connectionstringname="myconnectionstring"              enablepasswordretrieval="false"              enablepasswordreset="true"              requiresquestionandanswer="false"              requiresuniqueemail="false"              passwordformat="hashed"              maxinvalidpasswordattempts="3"              minrequiredpasswordlength="8"              minrequirednonalphanumericcharacters="1"              passwordattemptwindow="5"              passwordstrengthregularexpression=""              applicationname="/"  />       </providers>     </membership> 

check following example asp.net 2.0 membership provider, implements way unlock users automatically

http://www.wrox.com/wileycda/section/implementing-automatic-unlocking-in-asp-net-2-0-sqlmembershipprovider.id-292262.html


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -