Accessing Active Directory

B

Bill Smith

I currently have a web page that creates user accounts in Active Directory.
I'm in the process of trying to port it to .NET

I have a couple question hopefully someone could help clear up for me.

1. If I use asp.net and put all the connection code (plain text password
admin account using IADSOpenDSObject) in the backend aspx.vb will this be
secure from reading or tampering?

2. I am having a hell of a time figuring out the System.directoryservices,
what is the draw back of using the Active DS Type Library instead (I at
least understand it).

3. Would the code be safer if I didn't use credentials impersonation
(IADSOpenDSObject) and relied on MTS to boost the permissions?

4. VB.NET no longer lets me use the command object.Filter = Array("User").
It returns a build error of Array not allowed to be defined. Any idea of a
workaround?

Thanks so much for any help you can give me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top