473,785 Members | 2,794 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

High Level Feedback request

Hello:
I am trying to learn about Aactive Directory in VB.NET and NT security, so
if you have any good resources/references, please let me know.

At a high level ... in VB.NET

If I am a member of a domain user group - what do I need to do in order to
assign read only rights to a file I created, to that group (effectively
shutting me out from being able to edit the file of course..)

another way....

I have on AD \domain\mygroup
If create a file in \\server\direct ory\terry.txt
I created the file - I am a member of mygroup but other members of
mygroup currently do not have rights...
I want to give read only rights to terry.txt to mygroup

How do I assign the terry.txt an ACE and what do I retrive fromAD using
DirectoryEntry to add to the ACE
Thanks

Nov 20 '05 #1
2 1336
Hello,

Unfortunately, there is not much in terms of high-level AD programming...i t's all fairly nitty-gritty. A good place to start is absorbing as much as you can about the following .NET namespaces:

System.Director yServices
System.Manageme nt
System.Environm ent

System.Environm ent is automatically available to you, but the other two need to be referenced.

You might also want to look into Active Directory Application Mode (ADAM). http://msdn.microsoft.com/library/de...tion_mode_.asp (Watch for line breaks.)

Take care,

Eric
"Support" <Re************ ****@mail.oci.s tate.ga.us> wrote in message news:en******** *****@TK2MSFTNG P10.phx.gbl...
Hello:
I am trying to learn about Aactive Directory in VB.NET and NT security, so
if you have any good resources/references, please let me know.

At a high level ... in VB.NET

If I am a member of a domain user group - what do I need to do in order to
assign read only rights to a file I created, to that group (effectively
shutting me out from being able to edit the file of course..)

another way....

I have on AD \domain\mygroup
If create a file in \\server\direct ory\terry.txt
I created the file - I am a member of mygroup but other members of
mygroup currently do not have rights...
I want to give read only rights to terry.txt to mygroup

How do I assign the terry.txt an ACE and what do I retrive fromAD using
DirectoryEntry to add to the ACE
Thanks


Nov 20 '05 #2
Thanks for ADAM: very interesting but we run win2000 and XP and ADAM appears to be designed for win2003
Thanks
"Eric Lemmon" <E_************ ********@hotmai l.com> wrote in message news:ed******** ******@tk2msftn gp13.phx.gbl...
Hello,

Unfortunately, there is not much in terms of high-level AD programming...i t's all fairly nitty-gritty. A good place to start is absorbing as much as you can about the following .NET namespaces:

System.Director yServices
System.Manageme nt
System.Environm ent

System.Environm ent is automatically available to you, but the other two need to be referenced.

You might also want to look into Active Directory Application Mode (ADAM). http://msdn.microsoft.com/library/de...tion_mode_.asp (Watch for line breaks.)

Take care,

Eric
"Support" <Re************ ****@mail.oci.s tate.ga.us> wrote in message news:en******** *****@TK2MSFTNG P10.phx.gbl...
Hello:
I am trying to learn about Aactive Directory in VB.NET and NT security, so
if you have any good resources/references, please let me know.

At a high level ... in VB.NET

If I am a member of a domain user group - what do I need to do in order to
assign read only rights to a file I created, to that group (effectively
shutting me out from being able to edit the file of course..)

another way....

I have on AD \domain\mygroup
If create a file in \\server\direct ory\terry.txt
I created the file - I am a member of mygroup but other members of
mygroup currently do not have rights...
I want to give read only rights to terry.txt to mygroup

How do I assign the terry.txt an ACE and what do I retrive fromAD using
DirectoryEntry to add to the ACE
Thanks


Nov 20 '05 #3

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

Similar topics

5
2491
by: Manish Jain | last post by:
Environment: Windows 2000 Server (SP4), ASP.Net/C# (Framework 1.1) Hardware: PIII @ 700 MHz, 512 MB RAM ---------------------------------------------------------------------------- ------------------------------------------------------- I have developed a web application which I am deploying on above mentioned environment. Problem is that when I run it for the first time after a Build, then there is too much of CPU hogging. The Task...
33
2719
by: news.microsoft.com | last post by:
To Microsoft and fellow MSDN Universal subscribers... Regarding new MSDN Universal (I mean Premier) price and level changes: 1) Way too expensive for the small and medium developer Universal subscriber (and some large ones as well). $10,000 - $15,000 per user?!? Forget it! 2) Do you (MS) honestly believe that the market you are targeting will just buy this product on good faith? Without our recommendations? Think about
0
1109
by: Graham | last post by:
We have developed an email sending program. However we have started getting feedback from clients that high bit characters are displaying in our emails when they are sent to hotmail etc. We believe this is due to the fact that they are putting content in from Microsoft word and the " and ' are the high bit differently shaped ones that word uses. I'm about to look at writing some routines to parse these characters out, but before I...
9
6653
by: MR | last post by:
I get the following Exception "The data at the root level is invalid. Line 1, position 642" whenever I try to deserialize an incoming SOAP message. The incoming message is formed well and its length is 642 bytes ( I have appended it to the end of this message). I suspect that the reason may have something to do with an incorrect declaration of which class to de-serialize to. In the attached code I substituted @@@@@@@ in the code below with...
0
1127
by: Tor Erik Soenvisen | last post by:
Hi, all I would like some feedback on a multithreaded HTTP server I've written. The server serves python-scripts by dynamically loading scripts in the same directory as itself. When a request is made to one of these scripts the script is executed and its output is returned to the requester. Here is the server code, HTTPServer.py: # Basic, threaded HTTP server, serving requests via python scripts # Author: Tor Erik Soenvisen
2
1901
by: KUTTAN | last post by:
I a using System.Reflection System.Runtime.InteropServices System.Security.Permissions In my web application In this, Reflection need low thrust level to run But I have hosted my site in a shared server. So thrust level is high
3
6226
by: satishknight | last post by:
Hi, Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it has to tell then them its wrong information but currently it takes then to a next page and then tells them its incorrect information. This is tedious as every time they enter wrong they will be redirected to a different page and then they have to...
1
5590
by: sanjupommen | last post by:
I am in the process of exploring the possibility of providing our products on databases other than Oracle.I am able to migrate the data, procedures etc without too much effort (latest version of DB2 seems to have improved a lot compared to the earlier ones).* Unfortunately, I have limited knowledge of DB2, especially in setting the server parameters, their impact on an environment with high concurrency etc. As a result, we are getting very high...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10152
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.