Tuesday, July 17, 2012

This web site has been configured to disallow editing with FrontPage. Contact your web site administrator for 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:

Drive:\Program Files\Common Files\Microsoft Shared\Web Server extensions\12\TEMPLATE\Site Templates\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 template is located in the following folder:

Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\Site Templates\XML

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:
  • i.e. SharePoint Team Site:
Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Site Templates\XML
  • i.e. Meeting Workspaces:
Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Site Templates\MPS\XML

Note Replace the Drive placeholder with the drive where Windows is installed.
  • Right-click the Onet.xml file > 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:

<Project Title="Team Web Site" ListDir="Lists" xmlns:ows="Microsoft SharePoint" DisableWebDesignFeatures=wdfopensite>

  • Restart Internet Information Services (IIS). To do this, follow these steps:
Note: Replace the computer_name placeholder with the name of the computer that is running IIS.

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.

Warning: Do not edit a Windows SharePoint Services 3.0 site or a SharePoint Server 2007 site by using Microsoft Office FrontPage 2003. If you do this, you run a major risk of corrupting the site. Instead, always use SharePoint Designer 2007 to edit the site.


No comments: