TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dCyphr
NA
1
0
XML Membership Provider available?
Jan 18 2008 5:57 PM
I'm wanting to implement an authentication model based on an XML file for storing the username, password, role, profile, etc. Is there any native XML authentication provider or one out there that I can use? I plan on using a format like this:
<?xml version="1.0"?>
<admin>
<john>
<name></name>
<password>A15F69189FDD3C0A64F82C0AD73C31
9020351978
</password
>
<email></email>
<phone></phone>
<etc></etc>
</john>
<mary>
<name></name>
<password>WERG4589FDD3C0A64F82C0AD73C319
020351978<
/password>
<email></email>
<phone></phone>
<etc></etc>
</mary>
</admin>
<users>
<alex>
<name></name>
<password>SDFHW345C0A64F82C0AD73C3190203
51978</pas
sword>
<email></email>
<phone></phone>
<etc></etc>
</alex>
<debbie>
<name></name>
<password>A15F691STGW4560AD73C3190203519
78</passwo
rd>
<email></email>
<phone></phone>
<etc></etc>
</debbie>
</users>
The reason why I chose XML for the "database" is because I want to keep my app extremely portable. A database is just too hefty. I plan on using a data access layer so when the user base gets too big (like what 2500 users?) then the migration to an SQL database provider would be seemless. Can any gurus help point me in the right direction? If there isn't any XML provider out there, so far i will have to write these methods:
ChangePassword
ChangePasswordQuestionAndAnswer
CreateUser
DeleteUser
FindUserByEmail
FindUsersByName
GetAllUsers
GetNumberofUsersOnline
GetPassword
GetUser
GetUserNameByEmail
ResetPassword
UnlockUser
UpdateUser
ValidateUser
Any feedback or advice on this would be greatly appreciated. It seems a little intimidating at first glance.
Reply
Answers (
1
)
Exception Handling Etiquette
Getting a C# program with a manifest file to run in the debugger