Microsoft Knowledge Base Email Alertz

Description of SharePoint Server 2007 ASPX page source code access

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 976829 - Last Review: October 23, 2009 - Revision: 1.1

Description of SharePoint Server 2007 ASPX page source code access

INTRODUCTION

This article describes the behavior of Microsoft Office SharePoint Server 2007 when a user tries to view the source code of an ASPX page.

MORE INFORMATION

Conceptually, there are two kinds of ASPX pages: pages that are stored in a document library (for example, http://contoso/documents/default.aspx) and pages that stored outside a document library (http://contoso/default.aspx).

Users can view the source code of .aspx files that are stored in a document library if they have the Open Items permission. Users who do not have the Open Items permission cannot view the source code of .aspx files that are stored in a document library.

Users who have the Read permission level can view the source code of .aspx files that are stored in a document library. Users who have the View Only permission level do not have the Open Items permission. Therefore, they cannot view the source code of .aspx files that are stored in a document library. For more information about the default permission levels in SharePoint Server 2007, visit the following Microsoft Web sites:
http://technet.microsoft.com/en-us/library/cc721640.aspx (http://technet.microsoft.com/en-us/library/cc721640.aspx)
http://technet.microsoft.com/en-us/library/cc288074.aspx (http://technet.microsoft.com/en-us/library/cc288074.aspx)

For pages that are stored outside a document library, users can view the source code of .aspx files if they have the Add and Customize Pages permission. Users who do not have this permission cannot view the source code of .aspx files that are stored outside a document library. By default in SharePoint Server 2007, users who have the Full Control permission level or the Design permission level can view the source code of .aspx files that are stored outside a document library.

For detailed guidance about securely designing and deploying SharePoint environments, see the Security and Protection documentation for SharePoint Server 2007 on the following Microsoft TechNet Web site:
http://technet.microsoft.com/en-us/library/cc263518.aspx (http://technet.microsoft.com/en-us/library/cc263518.aspx)

APPLIES TO
  • Microsoft Office SharePoint Server 2007
Keywords: 
kbexpertiseinter kbsurveynew kbinfo KB976829
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate