Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-08-30

You can use the Set-OwaVirtualDirectory cmdlet in the Exchange Management Shell to allow or block access to Windows SharePoint Services document libraries and Windows file share documents for users who are connecting from public and private computers. For more information about the settings that you can configure on Office Outlook Web Access, see Set-OwaVirtualDirectory.

Table 1 lists the parameters that you can configure on an Outlook Web Access virtual directory to allow or block access to Windows SharePoint Services document libraries and Windows file share documents.

Before You Begin

To perform this procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

Procedure

Table 1   Parameters you can configure to allow or block access for users who are connecting from public and private computers

Parameter Description

UNCAccessOnPrivateComputersEnabled

This parameter determines the availability of Windows file share documents when forms-based authentication is enabled and the This is a private computer option is selected during Outlook Web Access logon. This parameter also determines availability when standard authentication is used. Standard authentication includes Basic, Digest, and Integrated Windows authentication.

UNCAccessOnPublicComputersEnabled

This parameter determines the availability of Windows file share documents when forms-based authentication is enabled and the This is a public computer option is selected during Outlook Web Access logon. You can also use Basic authentication.

WSSAccessOnPrivateComputersEnabled

This parameter determines the availability of documents in Windows SharePoint Services document libraries when forms-based authentication is enabled and the This is a private computer option is selected during Outlook Web Access logon. This parameter also determines availability when Basic authentication is used and the target server is using Windows SharePoint Services version 2 or later. This also applies to Digest and Integrated Windows authentication when the target server is using Windows SharePoint Services version 3 and it has been configured to accept Digest and Integrated Windows authentication.

WSSAccessOnPublicComputersEnabled

This parameter determines the availability of documents in Windows SharePoint Services document libraries when forms-based authentication is enabled and the This is a public computer option is selected during Outlook Web Access logon.

To use Exchange Management Console to enable or disable access to Windows SharePoint Services document libraries and Windows file shares

  1. Open the Exchange Management Console, click Server Configuration, and then click Client Access.

  2. On the Outlook Web Access tab, select the virtual directory that you want to configure, and then double-click it to view its properties.

  3. Click the Public Computer File Access tab or the Private Computer File Access tab.

  4. Select the check box next to Windows File Shares to enable or disable access to files.

  5. Select the check box next to Windows SharePoint Services to enable or disable access to document libraries.

  6. Click OK to save your changes and exit the properties.

To use the Exchange Management Shell to enable or disable access to Windows SharePoint Services document libraries and Windows file shares on a public computer

  1. Run the following command:

    Copy Code
    Set-OWAVirtualDirectory -Identity "owa (Default Web Site)" - WSSAccessOnPublicComputersEnabled $true|$false
    

For more information about syntax and parameters, see Set-OwaVirtualDirectory.

For More Information