Implement security in Window Forms Database application
-
Hello, I'm developing database applications in C#. Normally for small group of people. So far so good. I like to implement security. Login plus that the application is responding on the user (group) that logged in. What is the most practical approach to implement security? Arjen Groeneveld
-
Hello, I'm developing database applications in C#. Normally for small group of people. So far so good. I like to implement security. Login plus that the application is responding on the user (group) that logged in. What is the most practical approach to implement security? Arjen Groeneveld
-
Hi Danish Can you give me some more detail about role based security. For example, how to define the roles and how to link for example the buttons to these roles? What I see as most difficult is how to intermix the enabling and disabling of buttons and menu options depending on the security roles in combination with the "normal" button enabling and disabling business logic. Gr Arjen
-
Hi Danish Can you give me some more detail about role based security. For example, how to define the roles and how to link for example the buttons to these roles? What I see as most difficult is how to intermix the enabling and disabling of buttons and menu options depending on the security roles in combination with the "normal" button enabling and disabling business logic. Gr Arjen
When you are authenticating the user, at that point of time you should check the role the user belongs to. Once you get the role, enable/disable the controls. As far as enabling disable of the controls based on the business rules goes, that would happen on some user action after he logs in. So that would not interfere. Here[^] is another article that might be useful.
-
Hello, I'm developing database applications in C#. Normally for small group of people. So far so good. I like to implement security. Login plus that the application is responding on the user (group) that logged in. What is the most practical approach to implement security? Arjen Groeneveld
This might get you started: User Login For WinForm Applications[^]
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001