Microsoft KB Archive/940958

= How to prevent SharePoint Designer 2007 users from changing a Windows SharePoint Services 3.0 site or a SharePoint Server 2007 site =

Article ID: 940958

Article Last Modified on 8/27/2007

-

APPLIES TO


 * Microsoft Office SharePoint Server 2007
 * Microsoft Windows SharePoint Services 3.0
 * Microsoft Office SharePoint Designer 2007

-



INTRODUCTION
This article describes how to prevent Microsoft Office SharePoint Designer 2007 users from changing a Microsoft Windows SharePoint Services 3.0 site or a Microsoft Office SharePoint Server 2007 site.



MORE INFORMATION
To prevent users from changing a Windows SharePoint Services 3.0 site or a SharePoint Server 2007 site, disable the authoring feature in SharePoint Designer 2007 by editing the Onet.xml file. By default, the Onet.xml file for Windows SharePoint Services 3.0 and for SharePoint Server 2007 is in the following folder:

\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\SiteTemplates\ \xml

Note Replace the  placeholder with the name of the Windows SharePoint Service that is installed on the server.

For example, if the English (United States) version of Windows SharePoint Services is installed on the server, the SharePoint Team Site site template is located in the following folder:



To do this, follow these steps:  On the server that is running Windows SharePoint Services 3.0 or SharePoint Server 2007, locate the site template that you want to modify. Site templates are located in the following folders on the server:  SharePoint Team Site: :\Program Files\Common Files\Microsoft Shared\Web Server Extentsions\12\Template\ \STS\XML. Meeting Workspaces: :\Program Files\Common Files\Microsoft Shared\Web Server Extentsions\12\Template\ \MWS\XML

Note Replace the  placeholder with the drive where Windows is installed. Replace the  placeholder with the language version of Windows SharePoint Services 3.0 that is installed on the server. Right-click the Onet.xml file, click Open With, and then click Notepad. Locate the Project Title tag, and then add the following line:

DisableWebDesignFeatures=wdfopensite

Then, click Save.

The complete Project Title tag is as follows:



 Restart Internet Information Services (IIS). To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type iisreset  /restart, and then press ENTER.

Note Replace the  placeholder with the name of the computer that is running IIS.</li></ol> </li></ol>

After you follow these steps, users who try to open a site that is based on the site template that has the DisableWebDesignFeatures=wdfopensite attribute will receive the following message:

This web site has been configured to disallow editing with FrontPage. Contact your web site administrator for more information

By default, if you try to change a Windows SharePoint Services 3.0 site or a SharePoint Server 2007 site by using Microsoft Office FrontPage 2003, you receive the following error message:

Web Site Editing is Disabled. This web site has been configured to disallow editing with FrontPage. Contact your web site administrator for more information.

Additional query words: MOSS WSSv3 WSS

Keywords: kbhowto kbexpertiseinter KB940958

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.