c# and implementing security
-
I am relatively new to C#. Very generally, how would you implement an authentication system? You would have a user input form where the user puts username and password. I suppose a database table would store a permission set? Suppose you wanted to take the permission and disable some controls on forms.
-
I am relatively new to C#. Very generally, how would you implement an authentication system? You would have a user input form where the user puts username and password. I suppose a database table would store a permission set? Suppose you wanted to take the permission and disable some controls on forms.
Follow up the links here: ASP.NET 2.0 Membership, Roles, Forms Authentication, and Security Resources [^] I don't know whether you are specifically using ASP.NET but anyway the Membership and Roles API can be used in Windows apps. too.
Kevin
-
I am relatively new to C#. Very generally, how would you implement an authentication system? You would have a user input form where the user puts username and password. I suppose a database table would store a permission set? Suppose you wanted to take the permission and disable some controls on forms.
Is it a web or windows application? You can´t manage new logins without a database. Make SQL store procedures for to add,delete logins, to login and to logout. For security, let only your users execute your written store procedures, (don´t let then type sql for exemple). :doh: