TFE.Umbraco.AccessRestriction 10.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package TFE.Umbraco.AccessRestriction --version 10.2.0                
NuGet\Install-Package TFE.Umbraco.AccessRestriction -Version 10.2.0                
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="10.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TFE.Umbraco.AccessRestriction --version 10.2.0                
#r "nuget: TFE.Umbraco.AccessRestriction, 10.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=10.2.0

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

TFE.Umbraco.AccessRestriction

GitHub license

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

<table> <tr> <td><strong>License:</strong></td> <td><a href="./LICENSE.md"><strong>MIT License</strong></a></td> </tr> <tr> <td><strong>Umbraco:</strong></td> <td> Umbraco 10 </td> </tr> <tr> <td><strong>Target Framework:</strong></td> <td> .NET 6 </td> </tr> </table> <br />

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 1.0.0

or the older NuGet Package Manager:

Install-Package TFE.Umbraco.AccessRestriction --version 1.0.0

<br /> <br />

Umbraco Installation

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

app.UseMiddleware<IPAccessRestrictionMiddleware>(); 

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": "127.0.0.1"
  }

<br />

Features

  • 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

<br />

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 Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
14.1.2 109 9/4/2024
13.0.0 259 6/10/2024
13.0.0-alpha 84 6/10/2024
12.0.1.1 290 7/25/2023
12.0.1 193 7/20/2023 12.0.1 is deprecated because it has critical bugs.
11.3.1 1,137 5/5/2023
10.4.0.1 410 1/20/2023
10.4.0 284 1/19/2023
10.3.2.2 346 11/9/2022
10.3.2.1 362 11/4/2022
10.3.2 369 11/4/2022
10.2.2.4-alpha 158 11/4/2022
10.2.2.3-alpha 280 10/20/2022 10.2.2.3-alpha is deprecated because it has critical bugs.
10.2.1 431 10/11/2022
10.2.0 403 10/11/2022