---
agentTools:
  projectIndex: https://umbracolatch.readme.io/llms.txt
---

# Protecting the Umbraco backoffice login page

1. Sign in into your Umbraco backoffice and go to the **Latch section**.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/7dd5430-umbraco-latch-backoffice-section.PNG",
        "umbraco-latch-backoffice-section.PNG",
        82,
        294,
        "#252424"
      ],
      "caption": "Latch section in the Umbraco backoffice.",
      "border": false,
      "sizing": "smart"
    }
  ]
}
[/block]

2. Right click on the "**Operations**" folder and click on the "**Create**" option.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/b00ef7d-umbraco-latch-create-operation.PNG",
        "umbraco-latch-create-operation.PNG",
        258,
        176,
        "#fafafa"
      ],
      "caption": "Create operation option in Umbraco Latch."
    }
  ]
}
[/block]

3. Enter a name for your new operation.
4. Select the "**Login**" option in the "**Type**" dropdown.
5. If you want to apply this operation to every user in the CMS, just click on the **save** button.

If you only want to apply the operation to some users:

6. Uncheck the "**Apply to all users**" checkbox.
7. Click on the "**Add**" link.
8. Pick all the users that you want the operation to be applied.
9. Click on the **save** button.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/a8014d4-umbraco-latch-login-operation.PNG",
        "umbraco-latch-login-operation.PNG",
        459,
        496,
        "#f2f2f1"
      ],
      "caption": "Creating an Umbraco Latch operation to protect the backoffice login page."
    }
  ]
}
[/block]

[block:api-header]
{
  "type": "basic",
  "title": "How does this protection work?"
}
[/block]

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/c660f9a-login-operation-diagram.png",
        "login-operation-diagram.png",
        1123,
        794,
        "#04c4cc"
      ],
      "caption": "Umbraco Latch login operation diagram."
    }
  ]
}
[/block]