How to detect if the given webpage is generated by SharePoint?

By Namwar Rizvi - Last updated: Tuesday, June 5, 2012 - Save & Share - One Comment

If you want to find out whether the given web page is generated by SharePoint or not then the most authentic way of verification is to check Response Headers. SharePoint adds an specific response header (along with others) called

MicrosoftSharePointTeamServices

The presence of this header is a proof that the given web page is served by SharePoint. The value of MicrosoftSharePointTeamServices header will be similar to 14.0.0.xxxx where major version 14 means it is SharePoint 2010.

 

The quickest way to check the response header is to use fiddler . For example,

Response Header of a SharePoint Page

 

Warning:

As any web server is allowed to add any Response Header therefore, please make extra checks if there is a mission critical dependency on this check.

Share
Posted in Architecture, Concepts, Information, SP2010 • Tags: , , , , , Top Of Page

One Response to “How to detect if the given webpage is generated by SharePoint?”

Comment from nagendra
Time July 16, 2013 at 2:34 pm

how to remove MicrosoftSharePointTeamServices header from web page? pls help

Write a comment