I need some advice. I'm currently using MVC 4 & SimpleMemberhip with LDAP to authenticate users. The issue is, I don't want to store their usernames and passwords in the webpages_Membership table due to security concerns. The second issue is I want to provide user-editable profiles.
Here's what works so far:
- User logs for the first time and a new entry is created in webpages_Membership
- An individualized link to edit the user profile is displayed on the homepage
- Username is added to the UserProfiles table when profile is accessed for the first time
- Certain user details are fetched from LDAP server and written to profile
- Users can then customize their profiles
I'm currently using SimpleMembership with an override to the ValidateUser method. Everything works as it should but I don't need to store the LDAP usernames & passwords. Can this be done?
p.s. I know there is a better way to create new users & profiles besides on first time log in but I'm still working on it.