Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Membership Provider available?

Status
Not open for further replies.

dCyphr

Programmer
Jan 17, 2008
8
0
0
US
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 (ASP.NET 2.0)? I plan on using a format like this:

<?xml version="1.0"?>
<admin>
<john>
<name></name>
<password>A15F69189FDD3C0A64F82C0AD73C319020351978</password>
<email></email>
<phone></phone>
<etc></etc>
</john>
<mary>
<name></name>
<password>WERG4589FDD3C0A64F82C0AD73C319020351978</password>
<email></email>
<phone></phone>
<etc></etc>
</mary>
</admin>

<users>
<alex>
<name></name>
<password>SDFHW345C0A64F82C0AD73C319020351978</password>
<email></email>
<phone></phone>
<etc></etc>
</alex>
<debbie>
<name></name>
<password>A15F691STGW4560AD73C319020351978</password>
<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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top