Lds.Web.IpAccess 0.97.0

Lds.Web.IpAccess

Lds is Datalogik LDS' framework for .NET web applications: the parts every one of its applications would otherwise write again — a shell and components for Blazor pages, the Result an operation answers with, permissions and who holds them, an audit trail and the store it writes to — shipped as seven packages that share one version. It prescribes no application architecture: an application keeps its own structure and takes the parts it wants.

Package What it is
Lds.Application The technology-blind core: Result and the failure text that words it, permissions and the current user, granted access, the audit trail and the ports its store implements
Lds.Application.FormattedText The formatted-text sanitiser and its rules, apart from the core on weight
Lds.Application.IpAccess The operations that keep the rules of Lds.IpAccess, Datalogik's IP access package — authorized and recorded in the audit trail, apart from the core on weight
Lds.Infrastructure.MongoDb The MongoDB store for the core's ports: the audit trail and granted access
Lds.Web.Components The Blazor components and their SCSS, with Font Awesome Free and the editors they use
Lds.Web.Components.Testing bUnit/xUnit support for testing pages built on the components
Lds.Web.IpAccess The IP access screens over those operations, apart from the components on weight

The packages are on Datalogik's feed, https://components.datalogik.dk/v3/index.json, and so is Lds.IpAccess.

This package

The screens a solution's administrators keep IP access with, built from Lds.Web.Components over the operations of Lds.Application.IpAccess: geo-fencing and the allowed addresses, each person's own addresses, the state of the address lists, and the access log. Their text ships in English and Danish. A solution places them on its own pages and decides who may open those pages. What IP access is — the rules, the lists, the page a turned-away request sees — is Lds.IpAccess's, Datalogik's own package: its README.

It is a package of its own, apart from Lds.Web.Components, so that Lds.IpAccess travels only to a solution that wants the screens.

Component What it is
IpAccessPolicyPanel The settings: geo-fencing, the allowed countries, the allowed addresses and each restricted path's addresses, with the administrator's own address, country and access at the top; Save alone. Titleless, it is a settings page's sheet
PersonAddressesView The people with addresses of their own; Add and Edit open PersonAddressesForm in a dialogue, Remove removes
IpListStatusView The four address lists' state, Not in use and Old as marks, and Check now
AccessLogView The requests turned away, newest first, each reason a mark with a few words, and the days iCloud Private Relay let requests in. Refuses in place a person without the log's permission
IpEntryRows A list of addresses with their descriptions, as the two forms edit it
DbIpCredit "IP geolocation by DB-IP", which every screen showing a country carries

A country is shown as its two-letter code, DK.

Getting started

// The operations and Lds.IpAccess, as Lds.Application.IpAccess's README shows; then the screens' words.
builder.Services.AddLdsIpAccess(MyPermissions.ManageIpAccess, MyPermissions.ReadIpAccessLog, MyFailures.NotPermitted);
builder.Services.AddLdsIpAccessScreens();
builder.Services.AddDialogues();
builder.Services.AddMessages();
@page "/settings/ip-access"
@attribute [RequiresPermission(MyPermissions.Names.ManageIpAccess)]

<IpAccessPolicyPanel Path="/settings/ip-access" />
<PersonAddressesView People="PeopleAsync" Path="/settings/ip-access" />
<IpListStatusView />
<AccessLogView />

Path is the route the page is on, so that where it is a restricted path its addresses count for the administrator's own access and for the lockout. People answers the people whose addresses may be kept, as GrantablePersons whose identity is the one AddIpAccessStoredRules reads. AddLdsIpAccessScreens() words every failure code of the operations, from Lds.IpAccess's own sentences where it has them, behind the solution's failure catalogue: the solution words an IpAccess.* code only where it wants other words (ADR-0039). Everything a solution supplies is in Adopting the framework §2.9. The workbench's /access/ip-access page shows every component.

Documentation, issues and changes

The source, the documents and the issues are on GitHub, at datalogiklds/webframework. The repository is private: if you have access, report a fault or ask for a change there; if you don't, ask Datalogik LDS for it.

  • Adopting the framework — everything a solution supplies to the packages, with the decision behind each item
  • Architecture — how Lds is built and where an application's code meets its types
  • Using the components — how a page is put together from the components
  • Design manual — what the interface looks like and how it behaves
  • Glossary — the words the source and the documents use
  • Changelog — what changed in each version, and what a solution has to change to take it

No packages depend on Lds.Web.IpAccess.

.NET 10.0

Version Downloads Last updated
0.146.0 3 2026-11-17
0.145.0 1 2026-11-17
0.144.0 1 2026-11-16
0.143.1 0 2026-11-16
0.143.0 1 2026-11-16
0.142.0 2 2026-11-15
0.141.1 4 2026-11-15
0.141.0 1 2026-11-15
0.140.0 1 2026-11-15
0.139.1 9 2026-11-15
0.139.0 1 2026-11-15
0.138.0 4 2026-11-15
0.137.0 2 2026-11-15
0.136.1 1 2026-11-15
0.136.0 1 2026-11-15
0.135.0 1 2026-11-15
0.134.1 5 2026-11-15
0.134.0 1 2026-11-15
0.133.0 1 2026-11-15
0.132.0 0 2026-11-15
0.131.0 2 2026-11-15
0.130.0 2 2026-11-15
0.129.0 2 2026-11-14
0.128.0 4 2026-11-14
0.127.0 1 2026-11-14
0.126.0 2 2026-11-14
0.125.1 0 2026-11-14
0.125.0 1 2026-11-14
0.124.0 2 2026-11-14
0.123.0 1 2026-11-14
0.122.0 1 2026-11-14
0.121.0 10 2026-11-12
0.120.0 24 2026-11-12
0.119.0 1 2026-11-12
0.118.0 1 2026-11-12
0.117.0 2 2026-11-12
0.116.0 3 2026-11-11
0.115.0 4 2026-11-11
0.113.0 2 2026-11-11
0.112.0 6 2026-11-11
0.111.1 2 2026-11-10
0.111.0 5 2026-11-10
0.110.0 1 2026-11-09
0.109.0 1 2026-11-09
0.108.1 3 2026-11-09
0.108.0 4 2026-11-09
0.107.0 4 2026-11-09
0.106.1 2 2026-11-09
0.106.0 1 2026-11-08
0.105.0 1 2026-11-08
0.104.0 2 2026-11-08
0.103.0 2 2026-11-08
0.102.0 1 2026-11-08
0.101.0 4 2026-11-08
0.100.0 1 2026-11-08
0.99.0 1 2026-11-08
0.98.1 3 2026-11-08
0.98.0 1 2026-11-08
0.97.1 1 2026-11-08
0.97.0 1 2026-11-08
0.96.0 0 2026-11-08