XClose

Information Services Division

Home
Menu

Drupal CMS: Password protect

Learn to password protect content in Drupal.

This guide is aimed at

  • Staff
  • PG Students

Before you start 

You need to be a Senior Editor
When editing use Chrome, Firefox or Safari but NOT Internet Explorer

Instructions

You may want to protect one or more pages with a password so that nobody can see those pages unless they:

  1. belong to the LDAP group you've assigned to the password protected page(s)
    For an explanation of LDAP group see the related information link box.
  2. are allowed to see these pages with their UCL userID

Important

  1. CMS password protection is merely intended to protect external users and search engines from information that is only relevant to internal communities and is NOT intended to provide secure document storage.
  2. You can password protect Drupal sections (these must be menu pages), but please be aware that if you link to PDFs, Word documents or other documents that are embedded in the page you have protected, then these will not be password protected themselves and anyone with the document link can access the content.
  3. If you want to password protect documents so that your department staff can access them from your site then we would recommend you place documents into SharePoint and link to the documents via your Drupal page. That way it will always require a user to have UCL staff credentials to access the document content. Find out more about requesting a SharePoint team site for your department at SharePoint and OneDrive for Business

Setting up password protection for an Intranet or page using LDAP groups or UCL userIDs

  1. Ensure you are in editing mode
  2. Click on Structure | Menus | Main menu in the top toolbar
  3. You should see a list of all your pages
  4. To the right of the page you want to password-protect, click on the word 'edit'
  5. Scroll down to 'Menu fields':
  6. If it is an LDAP group you are using to password protect a page / section, type in the LDAP group and click on 'Add another item' for each group you would like to add.

    If it is a user you want to give access, type in their UCL userID in the 'User list'.

  7. Senior Editor: click on 'Publishing options - Draft (Current)' in the left-hand menu, choose 'published' from the drop-down menu
     
  8. Save
 

Once set up correctly, when a user clicks on the protected page / section, they will be directed to the UCL log in.
If they belong to the right group/username, they will log in successfully.

    Help and support

    web-support@ucl.ac.uk

    Feedback

    We are continually improving our site, so please provide us any feedback on this web page using the form below. It would also be really useful if we could discuss your feedback with you, so if you are happy to be contacted please include your UCL email address in 'Email' field below.

    Please note: We can only respond to UCL email addresses

    Help us improve this page