Microsoft UAG 2010 – Allow attachment viewing in Outlook Web Access, but deny downloads

Recently working on a deployment, I came across an unusual request to allow the attachments to be viewed, but the users should not be able to download the attachments anywhere on their machines when accessing from the untrusted (non-domain joined machines) machines.

We have number of articles which describes how to block download and create UAG endpoint policies which can block specific attachment, but couldn’t find anything related to what I was asked to do. For completing the task, we did the following;

URL

What this does is that, it removes the WebReadyView.aspx URL from “Download URLs” and UAG will not apply any download restriction policy on this URL. This will allow users to open the attachments in the web browser. Next, we will create the policy to determine the machines as trusted vs. untrusted. This can be another blog post in itself, but to keep it short and simple, we are using the “Network_Domains_DNS” expression to determine whether the machine is domain joined or not.

 

Policy

  • Now, we need to define this policy to be evaluated when users access the OWA application. To do so, go to the OWA application properties > Endpoint Policy Settings > Change the “Download Policy ” to what you created in the previous step .

EndpointPolicy

 

  • Activate the configuration

 

Cheers !!!