Discussion on:

3
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Good intro
Goober Bob 5th Apr 2003
This is a good piece covering the basics of ASP.NET forms authentication. I'd like to see more information on using a database backend (SQL Server, Oracle, ...) for username/password storage.
Nice article, but there are so many articles with the same type. but actually, in real time, a user is authenicated against a database. Can u pls modify the same, i.e. validating the user against a database (simple database like access.)
You could use simple stored procedure that returns 0 if valid and 1 if invalid. You should probably use the CryptoAPI to encrypt the passwords in the database and the call the same CryptoAPI when logging on to the system. The connection used should be generic and only have access to this one login stored procedure. Make sure you revoke all other permissions on the database for this generic user.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.