SharePoint Application Page Security
- Choosing the correct class to inherit from when developing an Application Page
- Validating a page request:
- Programmatic Validation of User Permissions
- SPBase Permissions Enumeration
- Code Access Security (CAS) Policy
Securing Application Pages in Windows SharePoint Services 3.0
- Application Pages: The What and Why
- Validating Page Requests
- Validating User Permissions
SPBasePermissions - Uses of SharePoint built-in permissions
- Programmatic uses of SPBasePermissions to check for or set permissions on various objects in SharePoint
- Get or set the Base Permissions for a Role Definition in a Web
- Get the current or specified user’s effective SPBasePermissions on an object (SPWeb, SPList, SPListItem, etc.) Username passed as String to GetUserEffectivePermissions():
- Check if the current or specified user has the specified permissions and throws UnauthorizedAccessException if not:
- Layout Page Base - Permissions required to access a LayoutPageBase
- Trimmed Content on a Page (Get or set permissions)
- Base permissions associated with a SPPermission object
- Get base permissions required to use a ConsoleAction object or ConsoleNode
- Get permissions required to see the developer dashboard
- Get or set the permissions for a web application
- Permissions required to access a Mobile Page
- Toolbar Menu Button Permissions
- Show / Hide content in SharePoint based on the built-in permissions in SharePoint without code.
Examples of implementing permission based content in SharePoint
- Show content to only a user with full permissions on the site:
- Show content to only users who can manage lists
- Show Content to users with access to manage permissions
- Show Content to users who can Add, Edit or Delete List Items in the Current List
- Show a link to Anonymous (not authenticated) users only
- Show a link to Authenticated users only
SharePoint: Show or Hide Content based on Permissions
- Show Content to Site Managers & Owners
Application Page Security for SharePoint
SPSecurityTrimmedControl class
SPBasePermissions Enumeration
0 comments
Post a Comment