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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -