![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 248](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675248.webp)
Access Control Usage Examples
248
Netscape Directory Server Administrator’s Guide • August 2002
8.
To enforce SSL authentication from HostedCompany1 administrators, switch
to manual editing by clicking the Edit Manually button. Add the following to
the end of the LDIF statement:
and (authmethod="ssl")
The LDIF statement should be similar to:
aci: (targetattr = "*")
(target="ou=HostedCompany1,ou=corporate-clients,dc=example,dc=co
m") (version 3.0; acl "HostedCompany1"; allow (all) (roledn=
"ldap:///cn=DirectoryAdmin,ou=HostedCompany1,ou=corporate-client
s, dc=example,dc=com") and (dayofweek="Mon,Tues,Wed,Thu") and
(timeofday >= "0800" and timeofday <= "1800") and
(ip="255.255.123.234") and (authmethod="ssl"); )
9.
Click OK.
The new ACI is added to the ones listed in the Access Control Manager
window.
Denying Access
If your directory holds business-critical information, you might specifically want to
deny access to it.
For example,
example.com
wants all subscribers to be able to read billing
information such as connection time or account balance under their own entries,
but explicitly wants to deny write access to that information. This is illustrated in
ACI “Billing Info Read” and ACI “Billing Info Deny” respectively.
ACI “Billing Info Read”
In LDIF, to grant subscribers permission to read billing information in their own
entry, you would write the following statement:
aci: (targetattr="connectionTime || accountBalance") (version 3.0;
acl "Billing Info Read"; allow (search,read) userdn=
"ldap:///self";)
This example assumes that the relevant attributes have been created in the schema,
and that the ACI is added to the
ou=subscribers,dc=example,dc=com
entry.
From the Console, you can set this permission by doing the following:
1.
On the Directory tab, right click the subscribers entry under the
example.com
node in the left navigation tree, and choose Set Access Permissions from the
pop-up menu to display the Access Control Manager.
2.
Click New to display the Access Control Editor.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...