[PR #5755] [MERGED] Auth: Network Access Policy #10638

Closed
opened 2026-02-07 06:24:00 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5755
Author: @BaronGreenback
Created: 4/10/2021
Status: Merged
Merged: 10/26/2021
Merged by: @cvium

Base: masterHead: NetworkAccessPolicy


📝 Commits (8)

  • 5fb7557 Network Access Policy
  • cf3aff9 revert change error
  • 0db5df8 Update Jellyfin.Api/Constants/Policies.cs
  • af027b6 Fixed after accepting suggestion.
  • fb7587d Renamed
  • 8496d76 Merge branch 'master' into NetworkAccessPolicy
  • 6637a30 Remove the dependency on BaseAuthorizationHandler
  • a60a1ab Fix xmldoc

📊 Changes

6 files changed (+76 additions, -1 deletions)

View changed files

Jellyfin.Api/Auth/AnonymousLanAccessPolicy/AnonymousLanAccessHandler.cs (+47 -0)
Jellyfin.Api/Auth/AnonymousLanAccessPolicy/AnonymousLanAccessRequirement.cs (+11 -0)
📝 Jellyfin.Api/Auth/BaseAuthorizationHandler.cs (+1 -1)
📝 Jellyfin.Api/Constants/Policies.cs (+5 -0)
📝 Jellyfin.Api/Controllers/DlnaServerController.cs (+3 -0)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+9 -0)

📄 Description

An access policy for DLNA based on the device being present on the LAN.

As some DLNA devices do not support authentication, only the IP address can be used for auth purposes.

Successfully tested in DLNA plugin.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5755 **Author:** [@BaronGreenback](https://github.com/BaronGreenback) **Created:** 4/10/2021 **Status:** ✅ Merged **Merged:** 10/26/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `NetworkAccessPolicy` --- ### 📝 Commits (8) - [`5fb7557`](https://github.com/jellyfin/jellyfin/commit/5fb7557763566ef4345aa563c4c1b6d81ce3ff57) Network Access Policy - [`cf3aff9`](https://github.com/jellyfin/jellyfin/commit/cf3aff93f219ab274e0cdfc4a7edb435f85aacd4) revert change error - [`0db5df8`](https://github.com/jellyfin/jellyfin/commit/0db5df86dffd78f95263af4413fab4e321c7d2a0) Update Jellyfin.Api/Constants/Policies.cs - [`af027b6`](https://github.com/jellyfin/jellyfin/commit/af027b62835a64b439b2f66bf50205aea9b47da0) Fixed after accepting suggestion. - [`fb7587d`](https://github.com/jellyfin/jellyfin/commit/fb7587dd84784afb7c64aadf1fc2d0bab5251814) Renamed - [`8496d76`](https://github.com/jellyfin/jellyfin/commit/8496d7638ab7823169c220b615289c401cefa9a0) Merge branch 'master' into NetworkAccessPolicy - [`6637a30`](https://github.com/jellyfin/jellyfin/commit/6637a3096a1256caf50377faa66a35d9c1af9115) Remove the dependency on BaseAuthorizationHandler - [`a60a1ab`](https://github.com/jellyfin/jellyfin/commit/a60a1ab89b68d47d00fe4dc948b4ef1c036d42ec) Fix xmldoc ### 📊 Changes **6 files changed** (+76 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `Jellyfin.Api/Auth/AnonymousLanAccessPolicy/AnonymousLanAccessHandler.cs` (+47 -0) ➕ `Jellyfin.Api/Auth/AnonymousLanAccessPolicy/AnonymousLanAccessRequirement.cs` (+11 -0) 📝 `Jellyfin.Api/Auth/BaseAuthorizationHandler.cs` (+1 -1) 📝 `Jellyfin.Api/Constants/Policies.cs` (+5 -0) 📝 `Jellyfin.Api/Controllers/DlnaServerController.cs` (+3 -0) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+9 -0) </details> ### 📄 Description An access policy for DLNA based on the device being present on the LAN. As some DLNA devices do not support authentication, only the IP address can be used for auth purposes. Successfully tested in DLNA plugin. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:24:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10638