473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Active Directory, User Permissions, and .NET?

Hello All,

I need to integrate my application into Active Directory. My application
has the concept of groups, users, and also individual permissions. Users
can be part of a group such as administrators, but explicit permissions may
also be set.

Can active directory handle this too?

For example: Administrators can typically add/remove/edit/delete an item,
but one junior administrator may have delete disabled.

Can active directory handle this? How does one go about loading this
application permissions into AD? What's the best way to integrate into AD?

I know I can use the basic IsInRole check, but would this neccessitate lots
of roles (one for each explicit permission)?

Any tutorials providing a comprehensive overview of Active Directory would
be great.

Thanks!

--
sp**********@rogers.com (Do not e-mail)
Jun 27 '08 #1
4 2180
Active Directory does not delegate permissions. Instead, its role is
only to confirm the identity of a user to your program.

It is up to your program to decide what kind of permissions to give to
a user once active directory has told your program who your user is.

Typically, this is done through a linked list implemented by your
program. You can see examples of this in SQL Server (you specify
active directory users in the security Logins and Roles lists, and
then assign specific access rights to each listed user in these lists)
and in sharepoint (you specify active directory users through
sharepoint screens and then indicate whether they are readers,
contributors, etc). In both cases, permissions are stored and granted
by each application and not active directory.

Jun 27 '08 #2
"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
Hello All,

I need to integrate my application into Active Directory. My application
has the concept of groups, users, and also individual permissions. Users
can be part of a group such as administrators, but explicit permissions
may
also be set.

Can active directory handle this too?

For example: Administrators can typically add/remove/edit/delete an item,
but one junior administrator may have delete disabled.

Can active directory handle this? How does one go about loading this
application permissions into AD? What's the best way to integrate into AD?

I know I can use the basic IsInRole check, but would this neccessitate
lots
of roles (one for each explicit permission)?

Any tutorials providing a comprehensive overview of Active Directory would
be great.

Thanks!

--
sp**********@rogers.com (Do not e-mail)


You can use the AD to be used as a centralized policy store that holds
authorization policy for one or more applications.
Start here:
http://msdn2.microsoft.com/en-us/library/aa480244.aspx
to get an idea how you can use Authorization Manager as an high-end
authorization solution for .NET and native COM based applications.

Willy.

Jun 27 '08 #3
"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in
news:uv*************@TK2MSFTNGP06.phx.gbl:
You can use the AD to be used as a centralized policy store that holds
authorization policy for one or more applications.
Start here:
http://msdn2.microsoft.com/en-us/library/aa480244.aspx
to get an idea how you can use Authorization Manager as an high-end
authorization solution for .NET and native COM based applications.
Thanks - I'll take a look at AzMan.

Do you have any experience with AzMan? Is it suitable for use in
redistributable applications? What I means is are the policies easily
packaged for deployment?

Also is the API for AzMan easy to use?

Thanks!

--
sp**********@rogers.com (Do not e-mail)
Jun 27 '08 #4
"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in
news:uv*************@TK2MSFTNGP06.phx.gbl:
>You can use the AD to be used as a centralized policy store that holds
authorization policy for one or more applications.
Start here:
http://msdn2.microsoft.com/en-us/library/aa480244.aspx
to get an idea how you can use Authorization Manager as an high-end
authorization solution for .NET and native COM based applications.

Thanks - I'll take a look at AzMan.

Do you have any experience with AzMan? Is it suitable for use in
redistributable applications? What I means is are the policies easily
packaged for deployment?
Well, it depends on what kind of store you are looking for and what you mean
exactly with "packaged for deployment".
The easiest AZRoles store to deploy is the XML file type , which can be used
as policy store to describe all tasks/roles etc for an application or a
group of applications. But in general you shouldn't use this kind of store
other than for prototyping and development.
All other store types (SQL Server, ADAM, AD) can de created/updated at
deployment time from code (script or other) using the AzMan API's.

Also is the API for AzMan easy to use?
Please define "easy".
All AzMan's functionality is exposed as a set of COM interfaces.
You can use these from scripting clients like VBScript and JScrip as well as
from higher level languages like VB6, C#, VB.NET, C++ etc..
The exposed interfaces can be used for both "administration" and
"programming". That means that there is a set for administration, while an
other set is meant for "application development".

Note that AzMan is only available on W2K and XP (as redistributable) and
W2K3 and higher (as part of the OS), note also that Vista and higher include
some additional functionality.

Willy.

Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
11
by: Jason Shohet | last post by:
How can I get the current logged in user on the computer? We're all Active Directory here -- Netbios is not turned on however. I need to get the name the user logged in as, when he started up...
5
by: J'son | last post by:
<REPOSTED> Guys, I need to build a web intranet application that can automatically create a user account when a new user registers on the site. The user account will be on the web server,...
2
by: Scott | last post by:
I'm creating an intranet site that uses Forms authentication to validate users against an Active Directory. Users need to be able to login both from work and remotely. Then I want to be able to do...
3
by: Lucky | last post by:
Hi guys, after long long time. i'm back again with another problem. this time i think the problem is very very interesting and i really need you help on this. i'm trying to connect to the...
18
by: Arthur | last post by:
Hi All, I would like to get the name of the user given their networkID, is this something Active Directory would be useful for?(For intranet users) If so, can you please point me to some sample...
2
by: Max Vit | last post by:
I have been toying with the idea of having an Active Directory authentication / authorisation functionality in MS Access; but there is not much useful info around. I have built these...
4
by: Spam Catcher | last post by:
Hello All, I need to integrate my application into Active Directory. My application has the concept of groups, users, and also individual permissions. Users can be part of a group such as...
5
by: ashok90 | last post by:
hi Experts, I want to use Active Directory with C# .Net. My Problem is that i want to restrict some users on my system(which is not on any network) from accessing some applications like oracle,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.