Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 14 Feb 2008 16:03:17 -0800 (PST),    group: microsoft.public.platformsdk.active.directory        back       


Set permissions on user attributes?   
We have a new tool that our users can use to reset their passwords.
It includes security questions.  The answers to the questions are
stored (encrypted) in extensionAttribute1, 2, and 3.  Right now, all
users can view these attributes for any user.  How do I set it so that
the attributes are not readable by everyone?  Thanks.

John
date: Thu, 14 Feb 2008 16:03:17 -0800 (PST)   author:   unknown

Re: Set permissions on user attributes?   
jlindley9@gmail.com wrote:
> We have a new tool that our users can use to reset their passwords.
> It includes security questions.  The answers to the questions are
> stored (encrypted) in extensionAttribute1, 2, and 3.  Right now, all
> users can view these attributes for any user.  How do I set it so that
> the attributes are not readable by everyone?  Thanks.

You set permissions on the attributes for the objects.

You do this by adding Access Control Entries to the ACL for the object, 
but masking the entires with a property flag (ADS_RIGHT_DS_WRITE_PROP 
etc) and specifying the GUID for the relevant attribute you're changing 
the permission on as the ObjectType

http://msdn2.microsoft.com/en-us/library/aa705951(VS.85).aspx

ADSI Edit is a useful tool while developing the code to do this.
date: Mon, 18 Feb 2008 22:55:38 +0000   author:   Adam

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us