473,379 Members | 1,326 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,379 software developers and data experts.

Q; Accessing AD in ASP.Net

Accessing AD in ASP.Net
1. It sees I can I access Active Directory catalog from asp.net, is the
version of AD important for this?
2. Do I need to have a domain user for that or IIS will be accessing it?
3. If I need to create a domain user, doe sit have to be domain admin?
4. How can I restrict this user’s access only for read for only AD access?

Jul 12 '08 #1
2 1925
On Jul 12, 2:50*am, JIM.H. <J...@discussions.microsoft.comwrote:
Accessing AD in ASP.Net
1. * * *It sees I can I access Active Directory catalog from asp.net, is the
version of AD important for this?
2. * * *Do I need to have a domain user for that or IIS will be accessing it?
3. * * *If I need to create a domain user, doe sit have to be domain admin?
4. * * *How can I restrict this user’s access only for read for only AD access?
1. Active Directory must be compatible with your computer, I guess.
2. In most cases you would need to have a domain user.
3. No, you can delegate rights to create users in AD to non-domain
admins
4. In AD

I suggest you post in microsoft.public.windows.server.active_directory
or a similar, for more expert help with this, as it's something you'd
need to manage in AD rather than at the ASP.NET.

Also please check threads in microsoft.*public.*dotnet.*framework.*
aspnet.*security

Hope this helps
Jul 13 '08 #2
"JIM.H." <JI**@discussions.microsoft.comwrote in message
news:73**********************************@microsof t.com...
Accessing AD in ASP.Net
1. It sees I can I access Active Directory catalog from asp.net, is the
version of AD important for this?
Not usually. So long as you're using ASP.NET 3.5, you'll be able to query
all existing Active Directory catalogs...
2. Do I need to have a domain user for that or IIS will be accessing it?
Yes. The default account under which ASP.NET runs normally does not have
sufficient privilegs to be able to query Active Directory. However, any
domain user account usually does. You might want your web app to run under a
domain user account via impersonation, or just the subection which queries
AD - there are dozens of articles on the web about running ASP.NET under
different accounts to gain (temporary) access to more privileged
resources...
3. If I need to create a domain user, doe sit have to be domain admin?
Doesn't need to be a domain admin just to query Active Directory. However,
actions which involve writing to Active Directory usually require more
elevated privileges than come as standard with a domain user account.
Impossible to tell in your particular case without knowing how your network
security has been configured...
4. How can I restrict this user’s access only for read for only AD access?
Generally speaking, a domain user account will have read access to AD
only...

You might get a better response if you post in:
microsoft.public.adsi.general. Basically, anything Joe Kaplan tells you can
be taken as gospel...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 13 '08 #3

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

Similar topics

1
by: Amy Tseng | last post by:
Hi, I am having a problem accessing SQL Server 2000 via UNIX. I am accessing SQL Server 2000 from Solaris using Sybase Open Client (CT-Lib). Here is the error message: CT-LIBRARY error:...
5
by: Sandeep | last post by:
Hi, In the following code, I wonder how a private member of the class is being accessed. The code compiles well in Visual Studio 6.0. class Sample { private: int x; public:
6
by: Chris Styles | last post by:
Dear All, I've been using some code to verify form data quite happily, but i've recently changed the way my form is structured, and I can't get it to work now. Originally : The form is...
3
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different...
47
by: fb | last post by:
Hi Everyone. Thanks for the help with the qudratic equation problem...I didn't think about actually doing the math...whoops. Anyway... I'm having some trouble getting the following program to...
3
by: AdamM | last post by:
Hi all, When I run my VbScript, I get the error: "ActiveX component can't create object: 'getobject'. Error 800A01AD". Any ideas what I did wrong? Here's my VBScript: dim o set...
1
by: Eirik Brattbakk | last post by:
Hi I have some problems accessing a soap service made in c# using an ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and CSoapWininetClient as template arguments with my stub...
1
by: CS Wong | last post by:
Hi, I have a page form where form elements are created dynamically using Javascript instead of programatically at the code-behind level. I have problems accessing the dynamically-created...
3
by: niju | last post by:
Hi there, I have three web pages (A,B,C). I need to prevent users accessing page B and C without accessing A. What would be the best way to achieve this rule? Many Thanks Niju
5
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.