Matthew McDermott

Matthew is a principal consultant for Catapult Systems. A Microsoft MVP (SharePoint Server), Matthew blogs about SharePoint and Microsoft technologies related to collaboration, web content management and productivity.
RSS Feed

ClientAccessPolicy file in SharePoint 2010

I am upgrading my Silverlight demo code from the old beta to beta 2 and see that there are a few new considerations for the deployment of ClientAccessPolicy.xml files. In a previous post I demonstrated how to do this for SharePoint 2007. The heartburn that I get with that approach is any site collection owner or designer can drag the file into the site collection and open the site up to unwanted client access issues. In 2010 the virtual path provider no longer serves the files from the root of the site collection. In SharePoint 2010 you simply deploy the file to the root of the web application on the Web front ends. This means that for my My Site Host (http://me) I copy the file to c:\inetpub\wwwroot\wss\VirtualDirectories\me.

Location of the clientaccesspolicy.xml file

Posted by Matthew McDermott on Wednesday, 18 Nov 2009 03:04
2 Comments | Filed under: SharePoint 2010, Silverlight, Development, My Sites
Bookmark this post with:        

Comments

On 08 May 2010 08:16, Jack said:

Matt, I have got a question- what if someone has 2 different web front end server so -so where we should deploy this policy file. Thanks,

On 09 May 2010 07:21, Matthew said:

Jack, The file has to be placed on the root of each WFE.

Comments are disabled