13 votes


A security package for Umbraco 7. Lock down an Umbraco website from viewers. Only users who are logged into the backoffice can see the public website.

What it is for?

There are often times when a staging or pre-production domain is publically available. This is problematic as the non-production site is not "locked down", and there might even be cases where Google indexes it. SiteLock solves this problem by only allowing authenticated users to view the website.


How it works

SiteLock is simply a module which is loaded dynamically at runtime. It inspects the domain of each request, and then either allows it, or throws a HttpException with a status code of 403.




After installing the package, you'll be able to lock any website via /config/SiteLock.config.



 Download package
version 1.2.0

NuGet install instructions for Umbraco 7.1.0-7.7.0

Install-Package Cogworks.SiteLock

Package owner

The Cogworks

The Cogworks

The has 394 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions: 7.9.x, 7.7.x, 7.6.x, 7.1.x

Package Information

  • Package owner: The Cogworks
  • Contributors: Anthony Dang
  • Created: 14/06/2017
  • Current version 1.2.0
  • .NET version 4.5,4.5.2
  • License MIT
  • Downloads on Our: 2K
  • Downloads on NuGet: 49.7K
  • Total downloads : 51.7K

External resources