ASP.NET Authentication Options
I am creating an asp.net application using only some Lite data access from xml files. However, I need to be able to authenticate administrative users (via forms) in order to manage this data. I don't want to get up sql db just for authentication purposes. I would like to use xml but not sure about the security with this. Any suggestions? Custom Role Provider? MyOpenID?
source to share
I agree with StingyJack, but when you set up Authentication Forms make sure you use some for encryption. Even if you have servers, you need this ... What if someone figures out how to load your XML files?
Here are some encryption options:
- http://www.codeproject.com/KB/security/SimpleEncryption.aspx
- http://www.codeproject.com/KB/security/encryption_decryption.aspx
Now, if you want to steer clear of using XML files to store user authentication information, you can take a look at SQLite . It is a very lightweight database - much lighter than SQL Server (express or otherwise) and easy to implement. Below is a link to .NET libraries.
source to share