Welcome to TechNet Blogs Sign in | Join | Help

Setting Folder Permissions in Outlook - what really happens?

Someone asked the following, so I thought I would try and address the issue as I think it is one that is commonly misunderstood:

 

Could you enlighten us on what happens when an Outlook user uses the permissions tab on a folder to grant access to other users?  It apparently isn't the same as when they use the Delegates.  I found a script to dump the delegates, but I have users who are out of control assigning folder permissions!

 

Setting Permissions on Folders

 

So when an Outlook User uses the Permissions tab to give another user access to their folder, they are doing just that, giving another user the specified amount of access to the specified folder (One could compare this action with modifying the NTFS permissions on an OS folder).  They are not giving the other user the ability to log into their mailbox and then only access the specified folders.  They are allowing the other users to use the "Open > Other User's Folder..." functionality within Outlook and have some level of access to their folder(s).

 

Here is an example:

 

1.       I created a user named "User1", created a mailbox for that user on an Exchange 2003 SP2 server, and then logged into that mailbox using Outlook 2003.

2.       I created a second user named "User2" and also gave that user a mailbox on the Exchange 2003 SP2 server.

3.       From Outlook 2003 logged into User1's mailbox, I Right-Click on the Inbox folder and select Properties.  I then click on the Permissions tab.  The first thing that you should notice is that both "Default" and "Anonymous" have a Permission Level of None.

4.       I add User2 and give that user account the "Author" Permission Level.

5.       Now I log out of User1's mailbox and now log into User2's mailbox using Outlook 2003.  Again, I cannot log into User1's mailbox using User2's credentials.  User1 has not granted User2 any mailbox level permissions, just folder permissions.

6.       Once I am logged into User2's mailbox, I go to the menu bar and click FILE > OPEN > OTHER USER'S FOLDER.  The first thing you should notice is that Outlook does not arbitrarily let you just access any folder.  You can only access the Calendar, Contacts, Inbox, Journal, Notes, and Tasks folders.  So I select the Inbox folder and click OK.  I can now see the contents of User1's Inbox and perform the actions applicable to the permissions that User2 has been given.

 

Figure 1

 

Since Outlook only allows you to open the 6 enumerated folders, there is really no need for Users to be modifying the folder permissions to grant other users access to the "Sent Items", "Deleted Items", etc. folders because the other users probably don't have a client that will allow them to even access those other folders.  However, I can see how this might lead to Helpdesk calls because the users are expecting that since they can apply Folder Permissions, then there is a way that the other Users' can access their folders, and this just is not the case with Outlook.

 

Setting Delegate Access in Outlook

 

In Outlook under Tools > Options, there is a tab labeled "Delegates".  Here is the description that Outlook gives:

 

Delegates can send items on your behalf. To grant permission to others to access your folders without also giving them send-on-behalf-of privileges, go to the Properties dialog box for each folder and change the options on the Permissions tab.

 

If you read this carefully, you will see that the "Delegates" tab is really doing two things:

 

1.       Modifying the "Send-on-Behalf-of" privileges for the user account which is stored in the "publicDelegates" property on user object in the Active Directory.  This privilege can also be modified by an Administrator by going into "Active Directory Users and Computers" (ADUC), viewing the properties of the appropriate User Account, clicking on the "Exchange General" tab, and then clicking on the "Delivery Options" button.  A new dialog box titled "Delivery options" will appear and within this new dialog box is an area labeled "Send on Behalf".

2.       Modifying folder permissions so the delegated user account can have the appropriate access to the mailbox folders.  These folder permissions are stored on the folders within the Exchange Store.

 

So let's walk through an example:

 

1.       I created a user named "User1", created a mailbox for that user on an Exchange 2003 SP2 server, and then logged into that mailbox using Outlook 2003.

2.       I created a second user named "User2" and also gave that user a mailbox on the Exchange 2003 SP2 server.

3.       From Outlook 2003 logged into User1's mailbox, I clicked on "Tools" in the menu bar and then selected "Options".  From the "Options" dialog box, I then clicked on the Delegates Tab.   Of course this should be empty by default.

4.       Since I would like to add User2 as a delegate, I click the "Add..." button.  This pops up a new dialog box that wants me to select a user(s) to give Delegate Access to.  I select User2 and click OK.

5.       Now another new dialog box appears titled "Delegate Permissions: User2".  One thing you should notice is that nowhere on this dialog box does it say anything about Send-on-Behalf-of.  What it does allow you to do, however, is to decide what level of permission you want to give the delegate to the 6 defined folders: Calendar, Tasks, Inbox, Contacts, Notes, and Journal.  Notice that it does not allow you set give the Delegate permission to any folder you want, nor does it allow you to give any level of permission.  Instead, you get to choose from None, Reviewer, Author, and Editor.

 

Figure 2

 

6.       I see that the default set of permissions are sufficient for what I want User2 to have on User1's folders, so I click OK on this dialog box and then click OK on the "Options" dialog box.

7.       So what has happened is that User2 now has "Send-on-Behalf-of" privilege for User1 and User2 also has Editor permission on User1's Calendar folder and Editor permission on User1's Tasks folder.  You can verify the "Send-on-Behalf-of" privilege by opening up User1's AD Object via Active Directory Users and Computers, click on the "Exchange General" Tab, and then click on the "Delivery Options" button.  You will see that User2 is listed as having "Send on Behalf" permission for User1.  To verify the folder permission, I just opened the properties for the "Calendar" and "Tasks" folders and view the Permissions tab.

NOTE: Even though User2 has not been granted any permission to the other four folders, Outlook still adds User2 to the folder permissions with a Permission Level of "None".

8.       In reference to the "Delegate receives copies of meeting-related messages sent to me" check box, Outlook creates a server-side rule that forwards the appropriate messages to the delegate.

9.       In reference to the "Delegate can see my private items", this setting is stored locally in the Manager's mailbox.  Since the enforcement of "Private Items" is done on the client side, the Delegate's Outlook checks for this setting to see if the enforcement of "Private Items" is to be enabled or disabled.

 

Modifying Folder Permissions for Delegates

 

OK, so now what happens if the user modifies the permissions of the Calendar or Tasks folder for User2?  Will that mess up their Delegate settings?  The answer, of course, is Yes and No.  Directly modifying the folder permissions is not going to change the Send-on-Behalf-of permissions that were granted for User2.  However, it will change what User2 is allowed to do in the Calendar folder.  If I now view the folder permissions for User2 on the "Calendar" folder, I see that the "Permission Level" given by Delegation is "Editor".  However, I decide that I want User2 to be able to create subfolders under User1's Calendar folder.  So I check the box next to "Create subfolders" which changes User2's "Permission Level" to "Publishing Editor".  If I know go back to the "Delegates"  tab and view the Permissions for User2, I see that User2 now has "Custom" permission on the Calendar folder.  This is to be expected since the "Publishing Editor" Permission Level is not enumerated in the drop down menus.

 

Figure 3

 

So it is apparent that when Outlook opens the Permissions for an existing Delegate, it goes to each of the folders and sees what permissions that Delegate has been given.  Therefore, if I now modify the Inbox folder to give User2 "Contributor" permission, modify the Contacts folder to give User2 "Review" permission, and modify the Journal folder to give User2 "Nonediting Author" permission; I will see the following as the Permissions for the Delegate User2.  You can see that Outlook has enumerated the permissions on all the folders and displayed the appropriate Permission Level in the drop down box.

 

Figure 4

 

So can you guess what happens if you remove a Delegated User?  If you said, "Remove the 'Send-on-Behalf-of' privilege and remove the folder permissions for the removed Delegated User from the Calendar, Tasks, Inbox, Contacts, Notes, and Journal folders," then you are correct.   Removing a Delegated user will remove the Delegated User's permissions for the six predefined folders, no matter how the folder permissions were granted.

 

Here is another trivia question, can you guess what happens if you have already given User2 the necessary folder permissions on the Inbox folder and then decide later to specify User2 as a Delegated User?  If you said, "The previously defined permissions on the Inbox folder for User2 will probably be changed," then you are correct.  The unfortunate reality is that when you add a new Delegated User, Outlook does not iterate through the six folders to see if that account already has permissions.  Instead, it just assumes that it doesn't and gives you the default dialog box (see Figure #2 above).  By default, the added Delegated User has a Permission Level of "None" on the Inbox.  If this is not changed to be what User2 has currently on the Inbox folder, then the folder permissions will change.

 

In Closing

 

Using the Delegate functionality of Outlook is not something that all users will need to do.  However, if users are adding Delegates, then they are adding an entry to each of the six folders' permissions.  If users are out of control specifying Delegates, then they are probably out of control assigning folder permissions, and don't even know it.

 

- Chris Ahlers

Published Monday, May 01, 2006 9:58 AM by Exchange

Comments

Monday, May 01, 2006 1:25 PM by Kn00p

# re: Setting Folder Permissions in Outlook - what really happens?

There is a way users can access other folders then the default ones.

It works like this. Grant a user list and read permisions on the top level (Mailbox - Name). Then grant permissions to the folders you wish (Like Sent Items or some other custom folder).

Now the other user can add the mailbox in the Advanced setting of the e-mail profile. In the folder view the mailbox will show up.
Monday, May 01, 2006 2:43 PM by Indy

# re: Setting Folder Permissions in Outlook - what really happens?

And all sorts of fun things happen when you remove a delegated user from AD.  NDR's on appointments sent to the Manager's mailbox.  Fun stuff.
Monday, May 01, 2006 3:32 PM by Marc C

# re: Setting Folder Permissions in Outlook - what really happens?

Users have a tendency to do anything they can to make sure a single person has permissions to their mailbox.  We need to audit the permissions on all mailboxes (about 40,000) we are particularly interested to find Inboxes or Calendars that have default or anonymous permissions set.  I did this back in the 5.5 days using MBinfo.exe, but it won't run against Exchange 2003.  Any advice? I would really like to be able to script it but I can't find a method.
Monday, May 01, 2006 4:03 PM by Exchange

# re: Setting Folder Permissions in Outlook - what really happens?

Marc,

There are two things that you can do to get this information:

1. Use MBINFO. I know you mention that "it does not work" but - we have used MBINFO against an Exchange 2003 server in Support, this should work. You do need to make sure that you have permissions, like when you are running Exmerge, however it should work.

2. Use the PFDAVAMIN tool. When connecting, use the "Connect to mailboxes" option. If you have permissions, connect to "all mailboxes" and then go to Tools > Export Permissions. (logging will need to be turned on under Tools > Options). You can grab PFDAVADMIN here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=635BE792-D8AD-49E3-ADA4-E2422C0AB424&displaylang=en
Tuesday, May 02, 2006 2:16 AM by James Fields

# re: Setting Folder Permissions in Outlook - what really happens?

So what is the difference betwenn adding "Send-on-Behalf-of" privileges for the user account which is stored in the "publicDelegates" property on user object in the Active Directory and granted "Send As" permission on "Security" Tab in AD?
Tuesday, May 02, 2006 2:17 PM by Ted's Blog

# What Really Happens when you set Folder Permissions

I ran across a very interesting blog entry from the Microsoft Exchange group explaining exactly what...

# Henrik Walther Blog » Blog Archive » Setting Folder Permissions in Outlook - what really happens?

Wednesday, May 03, 2006 5:44 PM by Steve

# re: Setting Folder Permissions in Outlook - what really happens?

So how does this relate to Outlook's Share My Calendar feature?

I have a client that wants calendars shared but with different access for different users.  I have set all the permissions the way that seems to be correct (default and anonymous are None, specific users have Publishing Editor, others have read-only).  I also set specific permissions on the calendar folder. Despite those permissions every user has full access to the calendar.  Even worse is that they can all modify the permissions on the calendar.
Thursday, May 04, 2006 12:02 AM by joe

# re: Setting Folder Permissions in Outlook - what really happens?

James: Send on behalf permission allows you to send an email that says it is from you and sent on behalf of the mailbox owner. Send As allows you to send a message that says it is from the mailbox owner.
Thursday, May 04, 2006 1:27 PM by Chris Ahlers

# re: Setting Folder Permissions in Outlook - what really happens?

[Response to James Fields]

In addition to Joe's response, another difference is who can grant which permission.

Both the mailbox owner and Administrator can grant another acocunt "Send on Behalf" permission to another account/mailbox.

However, only the Administrator can grant the "Send As" permission.
Thursday, May 04, 2006 1:34 PM by Chris Ahlers

# re: Setting Folder Permissions in Outlook - what really happens?

[Response to Steve]

Steve-

Have the users in question been given Full Mailbox Access?  If so, then the permissions are meaningless because once you log into a mailbox with an account that has Full Mailbox Access, the permissions are not checked.  One thing you might want to check is to make sure that these users cannot access any other folder in the mailbox other then the Calendar folder.  If they can, then something is up.

Another thing that could cause a problem is if the Security Descriptor on the Calendar folder is no longer MAPI Canonical.  You can use the PFDAVADMIN tool mentioned in a previous comment to check to make sure that the Security Descritor is properly ordered.

--Chris
Friday, May 05, 2006 1:02 PM by subject: exchange

# Weekend reading

Since there was no "weekend reading" last week, today's list is abnormally long. If you don't have the...
Saturday, May 06, 2006 11:02 AM by jhanjon

# password protect a message?

I have a situation whereby a user has assistants operate their outlook to respond to general emails, however, that user also needs to receive private messages. Is there a way whereby a portion of the message can be password locked persistently, meaning each time it is opened?
Sunday, May 07, 2006 3:42 PM by Kees-Jan

# re: Setting Folder Permissions in Outlook - what really happens?

Ok, how about this one:
we have a number of groups of users, for example: Service Desk or Service Management, who are using a "resource mailbox". When we create the mailbox we add modify permissons(via AD) to the requestor (for the system managers this is what we call the "owner" of the mailbox). Then the (so called) owner can modify permissions via Outlook to grant rights to other users. All that users add the mailbox via advanced settings to the Outlook view, so all of them see when new messages arrive in the mailbox. When they send messages, it's going to be the "send on behalf of" way. But what if those users need to use the "send as" way? Do I (as Administrator) have to grant them "send as" permissions? And what if those users use their "send as" permissions to send mails as the CEO of the company? Or do I miss something here? Is something, someone, some... prohibiting them from doing this?
...
Monday, May 08, 2006 3:14 PM by Chris Ahlers

# re: Setting Folder Permissions in Outlook - what really happens?

Kees-Jan --

"Send As" permission is a permission granted to a user or group on a specific user account.  If I wanted to give UserA the ability to "Send As" UserB, an administrator would have to go to UserB's user object and add an ACE for UserA that grants the "Send As" permission.  I cannot go to UserA's account and give UserA "Send As" permission for UserB.

Therefore, if you don't want someone to "Send As" the CEO, then don't give that user account the "Send As" permission on the CEO's mailbox/account.

If I did not completely address your scenario, please let me know, I may not have understood it correctly.

Here are some additional blogs about "Send As"
http://blogs.technet.com/exchange/archive/2005/01/07/348596.aspx
http://blogs.technet.com/exchange/archive/2006/01/13/417440.aspx
http://blogs.technet.com/exchange/archive/2006/04/28/426707.aspx
New Comments to this post are disabled
 
Page view tracker