.NET 6.0
dotnet add package TFE.Umbraco.AccessRestriction --version
NuGet\Install-Package TFE.Umbraco.AccessRestriction -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TFE.Umbraco.AccessRestriction" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TFE.Umbraco.AccessRestriction --version
#r "nuget: TFE.Umbraco.AccessRestriction,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TFE.Umbraco.AccessRestriction as a Cake Addin
#addin nuget:?package=TFE.Umbraco.AccessRestriction&version=

// Install TFE.Umbraco.AccessRestriction as a Cake Tool
#tool nuget:?package=TFE.Umbraco.AccessRestriction&version=


GitHub license NuGet NuGet

TFE.Umbraco.AccessRestriction is a IP access restriction manager for Umbraco. The package features a dashboard and editor that let's users manage whitelisted IP addresses from within the Umbraco backoffice. IP's can be added with a description and have both a creation and modified date and user.

Getting started

License: Umbraco: Target Framework:
MIT License Umbraco 10 .NET 6

Package Installation

The Umbraco 10 version of this package is only available via NuGet. To install the package, you can use either .NET CLI:

dotnet add package TFE.Umbraco.AccessRestriction --version

or the older NuGet Package Manager:

NuGet\Install-Package TFE.Umbraco.AccessRestriction -Version

Umbraco Installation

Before the Umbraco middleware, add the IPAccessRestrictionMiddleware to Startup.cs:


Add the necessary usings to Startup.cs:

using TFE.Umbraco.AccessRestriction.Middleware;

Add these settings to appsettings.json

"TFE.Umbraco.AccessRestriction": {
    "disable": true, 
    "logBlockedIP": false,
    "excludePaths": "/umbraco, /App_Plugins",
    "localHost": ""

Azure / CloudFlare / Umbraco Cloud Installation

When installed on a cloud environment make sure to add your the cloud IP Addresses. Replace the following excludePaths property in appsettings.json :

 "excludePaths": "/umbraco, /App_Plugins, /umbraco-signin-oidc, /sb", 


  • Global dashboard for listing all whitelisted IP addresses.
  • Package only handles IP addresses added manually by a user with admin rights.
  • logBlockedIP enables you to see all blocked IP addresses in the Umbraco log.

Contribution guidelines

To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would like to discuss anything related to the library.

Who do I talk to?

This project is maintained by Rutger Dijkstra and contributors. If you have any questions about the project please raise a issue on GitHub.

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 72 1/20/2023
10.4.0 73 1/19/2023 148 11/9/2022 162 11/4/2022
10.3.2 164 11/4/2022 54 11/4/2022 156 10/20/2022
10.2.1 219 10/11/2022
10.2.0 200 10/11/2022