ASP.NET Identity provider based on text file -
i building simple asp.net 5 admin site, using asp.net identity 2 password protect actual admin pages. used 2 4 users.
my employer doesn't want me use database various reasons beyond control. plan store user info in text file. when user needs added/removed, dev log server , update text file. users can login, can't register, change password, etc.
i still use asp.net identity can use authorize attribute on mvc controllers, etc. makes easier start using database later on.
i haven't been able find asp.net identity provider uses unencrypted text file. such provider exist somewhere?
i have not came across text-file storage, i've seen lot of samples using other storage mechanisms. take on this post samples , have on documentation implementing custom storage.
in case i'd store user objects in list , serialise json-string persisted file.
however advised not use plain text password storage , use provided hashing mechanisms. (i'm sure aware of this). point employer on http://plaintextoffenders.com/ samples of why best not store plain-text password.
Comments
Post a Comment