Implementing security against AD, user level, group level and roles?
-
Hi. I'm developing a small Windows forms application on which I must apply logon security. I need to verify that the user exist in the AD, is part of a certain group and has the proper role. I also need to take care of the fact that the computer might not be connected to the network hence no contact with the domain controller. Does anyone have an idea on how to implement this in a simple way?
-
Hi. I'm developing a small Windows forms application on which I must apply logon security. I need to verify that the user exist in the AD, is part of a certain group and has the proper role. I also need to take care of the fact that the computer might not be connected to the network hence no contact with the domain controller. Does anyone have an idea on how to implement this in a simple way?
Well, use base credentials. Once the computer is connected to the network cache the credential to the client, and use it until the next login to server. Get Roles, groups etc data of that particular user which is connected through login to the local cache (might be in database) and use it until it gets online to network again. :rose:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
Well, use base credentials. Once the computer is connected to the network cache the credential to the client, and use it until the next login to server. Get Roles, groups etc data of that particular user which is connected through login to the local cache (might be in database) and use it until it gets online to network again. :rose:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
Allright, but how do I do this (I'm fairly new to C#). Is there some examples out there which I can take a peek at?
-
Hi. I'm developing a small Windows forms application on which I must apply logon security. I need to verify that the user exist in the AD, is part of a certain group and has the proper role. I also need to take care of the fact that the computer might not be connected to the network hence no contact with the domain controller. Does anyone have an idea on how to implement this in a simple way?
Hi. I'm developing a small Windows forms application on which I must apply logon security. I need to verify that the user exist in the AD, is part of a certain group and has the proper role. I also need to take care of the fact that the computer might not be connected to the network hence no contact with the domain controller. Does anyone have an idea on how to implement this in a simple way? Reply: if you use 'socket' or other 'object'...,i think they always have a function like 'connect'; try like this way: try { sokcet.connect(); } catch { // not success. // deal it. }
April Comm100 - Leading Live Chat Software Provider