ws federation - Where to store retry counter in ADFS custom authentication adapter -
i'm setting custom mfa provider adfs 3.0 implementing iauthenticationadapter in .net. custom adapter generates random code transmitted users's mobile phone.
i want limit number of times user can enter random code, prevent brute force attack. have done using retry counter store in context passed beginauthentication() , tryendauthentication().
i have found out, however, context not server-side thing, instead encrypted , transferred client in hidden html field.
the user can circumvent retry limit navigating previous page, has previous value of retry count, , resubmit new code.
i believe need store retry-count server-side only, where? can't find on in documentation.
i hope adfs support retry-limit somehow.
i have not found server-side place store data during authentication process. believe there none.
so deceided remove retry feature, removing neeed server-side session data. on-time-password authentication module can without feature.
still, puzzle me. surely, more elaborate authentication module need place track progress of authentication server-side.
Comments
Post a Comment