c# - Customizing SimpleMembershipProvider -
is possible customize simplemembershipprovider in sense of requiring more user name , password login?
for example, suppose want 4 pieces of information:
login, password, abc, xyz (abc , xyz generic placeholders, now) suppose login is: john/mypassword555/1/1 (authenticated) -> pagex john/mypassword999/1/2 (authenticated) -> pagey bob/mypassword333/1/1 (authenticated) -> pagex bob/mypassword333/1/2 (authenticated) ->pagey bob/mypassword333/1/3 (authenticated) -> pagez
having john/mypassword or bob/mypassword333 insufficient.
i want able have either same password logins or different passwords, still require 4 fields before request.isauthenticated true.
i'm not sure if mean, but:
if need data a, b, , c plus password log in, store a, b, , c object structure, serialize object string, , pass string custom membership provider "login" along password, deserialize object parts. @ point can whatever want in custom provider.
Comments
Post a Comment