Prohibit the use of Sharepoint Designer to Edit Sharepoint Sites

If you ever need to prohibit the possibility to edit Sharepoint Sites with Sharepoint Designer, you can edit the following File:


\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\template\Site Templates\STS\XML\Onet.xml


Replace the line that starts with <Project Title=”$Resources:onet_TeamWebSite;”  (it should be the second line in the file)


by the following:


<Project Title=”$Resources:onet_TeamWebSite;” Revision=”2″ ListDir=”$Resources:core,lists_Folder;” xmlns:ows=”Microsoft SharePoint”; DisableWebDesignFeatures=”wdfopensite”><!– [email protected]=”camlidonet1″ _locComment=”{StringCategory=HTX}” –>


Now, save the file and reset IIS (start -> Run -> iisreset)


When you try to open the site now with Sharepoint Designer, you should get a message stating that the web site has been configured to disallow editiing with SharePoint Designer.

One thought on “Prohibit the use of Sharepoint Designer to Edit Sharepoint Sites

Leave a Reply

Your email address will not be published. Required fields are marked *