BrainDump
  Home arrow BrainDump arrow Controlling Lists in SharePoint
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Controlling Lists in SharePoint
By: O'Reilly Media
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-01-22

    Table of Contents:
  • Controlling Lists in SharePoint
  • Editing List Pages
  • Simplifying the New Item Form
  • Making It Easier to Submit Items
  • Resetting the List Forms
  • Deploying List Templates

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Controlling Lists in SharePoint


    (Page 1 of 6 )

    In this conclusion to a four-part article series on lists in SharePoint, you will learn how to control access to lists, edit list pages, and more. It is excerpted from Essential SharePoint 2007, Second Edition, A Practical Guide for Users, Administrators and Developers, written by Jeff Webb (O'Reilly, 2008; ISBN: 0596514077). Copyright © 2008 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

    Controlling Access to Lists

    Lists inherit permissions from their parent site. You can restrict access to an entire list or to items within a list.

    To restrict who has access to a list:

    1. On the list toolbar, click Settings -> List Settings, and click “Permissions for this list” under the Permissions and Management heading in the middle of the page. SharePoint displays the Permissions page.
    2. Click Actions -> Edit Permissions. SharePoint displays a warning that you are creating unique permissions.
    3. Click OK to proceed. SharePoint changes the display of the Permissions page so that you can edit the permissions.
    4. Select a user or group and click Actions -> Remove User Permissions to remove access to the list for those users as shown in Figure 4-19.


    Figure 4-19.  Restricting access to a list

    Figure 4-19 shows removing permissions for all users except the Administrator. That means only the Administrator can see the list; it is hidden from everyone else and if someone tries to access it, SharePoint displays an Error: Access Denied page (see Figure 4-20). Those two points confuse some folks:

    • In SharePoint, you generally can’t see what you can’t access. That means some lists, libraries, and sites may not appear on the Quick Launch or link bar for some users. That makes instructing users interesting sometimes!
    • The Access Denied page lets you sign in as a different user. Most folks have only one account, so that makes little sense to them. But when you’re helping someone, it’s handy to sign in as yourself, grant that person access, and then sign out by closing the browser (be sure to do that so the user doesn’t proceed with your credentials).


      Figure 4-20.  What the user sees if he/she doesn't have permissions to access something

    You can also restrict access to individual items in a list. To do that:

    1. Click Manage Permissions on the list item’s Edit menu, as shown in Figure 4-21.
    2. Follow the same steps as for restricting access to a list.

    Notice that I’ve only talked about restricting access. Actually, you can increase permissions as well, but that’s a much less common practice. In general, permissions are more restricted the deeper you go into a site hierarchy.


    Figure 4-21.  Use the edit menu to restrict access to individual items

    Part of the reason for that is simplicity—it’s way too hard to remember how permissions are set if they don’t follow the physical structure. The other reason is visibility: as I mentioned above, SharePoint hides restricted items, so if a user has read access to a list within a site that she can’t see...it’s very hard for her to find that list.

    More BrainDump Articles
    More By O'Reilly Media


       · This article is an excerpt from the book "Essential SharePoint 2007, Second Edition,...
     

    Buy this book now. This article is excerpted from Essential SharePoint 2007, Second Edition, A Practical Guide for Users, Administrators and Developers, written by Jeff Webb (O'Reilly, 2008; ISBN: 0596514077). Check it out today at your favorite bookstore. Buy this book now.

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek