Winforms Security System
-
Hello everyone. I'm building a forms application and i want to build a security system but i don't know where to start. I have divided my application in modules and i have a login form. But want to build something like windows: Users can see somethings and can press some button but in other plases he cannot. Could some one give some lights so i can guide myself. I would like to build it myself but if you could point out some 3rd party product in last resourt lol. Thanks in advance CodeProject gurus lol.
-
Hello everyone. I'm building a forms application and i want to build a security system but i don't know where to start. I have divided my application in modules and i have a login form. But want to build something like windows: Users can see somethings and can press some button but in other plases he cannot. Could some one give some lights so i can guide myself. I would like to build it myself but if you could point out some 3rd party product in last resourt lol. Thanks in advance CodeProject gurus lol.
Ice_LS00 wrote:
Users can see somethings and can press some button but in other plases he cannot.
I guess you mean that you need to give user specific access rights. In this case, you can implement roles and rights based application. You can have certain roles defined in the database and provide them with certain rights. Then you can assign each user with a role and depending upon that you can provide the access rights.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures." जय हिंद
-
Hello everyone. I'm building a forms application and i want to build a security system but i don't know where to start. I have divided my application in modules and i have a login form. But want to build something like windows: Users can see somethings and can press some button but in other plases he cannot. Could some one give some lights so i can guide myself. I would like to build it myself but if you could point out some 3rd party product in last resourt lol. Thanks in advance CodeProject gurus lol.
One way to handle this is to use RoleProvider[^] and MembershipProvider[^] classes (inherit your own implementations). Those classes help you to create custom role-based privileges. On those pages there are good example implementations you could have a look at.
The need to optimize rises from a bad design.My articles[^]
-
One way to handle this is to use RoleProvider[^] and MembershipProvider[^] classes (inherit your own implementations). Those classes help you to create custom role-based privileges. On those pages there are good example implementations you could have a look at.
The need to optimize rises from a bad design.My articles[^]
-
Isn't this for ASP.NET? I'm developing a winforms application can i still use this? Thanks for your reply :)
Ice_LS00 wrote:
Isn't this for ASP.NET? I'm developing a winforms application can i still use this
Yes you can use it. Simply add reference to System.Web. The examples are for ASP.NET and I believe it's mostly used in ASP scenarios but there's no reason why you couldn't use those in winforms.
Ice_LS00 wrote:
Thanks for your reply
You're welcome :)
The need to optimize rises from a bad design.My articles[^]
-
Ice_LS00 wrote:
Isn't this for ASP.NET? I'm developing a winforms application can i still use this
Yes you can use it. Simply add reference to System.Web. The examples are for ASP.NET and I believe it's mostly used in ASP scenarios but there's no reason why you couldn't use those in winforms.
Ice_LS00 wrote:
Thanks for your reply
You're welcome :)
The need to optimize rises from a bad design.My articles[^]