Skip to content

Add LocalNetworkAccess policy documentation#1288

Open
MayyaSunil wants to merge 1 commit intomozilla:masterfrom
MayyaSunil:add-localnetworkaccess-policy
Open

Add LocalNetworkAccess policy documentation#1288
MayyaSunil wants to merge 1 commit intomozilla:masterfrom
MayyaSunil:add-localnetworkaccess-policy

Conversation

@MayyaSunil
Copy link
Copy Markdown

Add documentation for the LocalNetworkAccess policy introduced in Firefox 147. This policy controls Firefox's behavior when websites attempt to access local network resources (localhost and local network addresses).

Features:

  • Enabled: Base flag to enforce local network access security checks
  • BlockTrackers: Block third-party trackers from accessing local resources
  • EnablePrompting: Gate access via user permission prompts
  • SkipDomains: Array of domains to skip checks (supports wildcard patterns)
  • Locked: Prevent users from changing settings

The SkipDomains parameter supports both source and target domain skipping, with suffix wildcard patterns using the *.prefix notation.

Add documentation for the LocalNetworkAccess policy introduced in Firefox 147.
This policy controls Firefox's behavior when websites attempt to access local
network resources (localhost and local network addresses).

Features:
- Enabled: Base flag to enforce local network access security checks
- BlockTrackers: Block third-party trackers from accessing local resources
- EnablePrompting: Gate access via user permission prompts
- SkipDomains: Array of domains to skip checks (supports wildcard patterns)
- Locked: Prevent users from changing settings

The SkipDomains parameter supports both source and target domain skipping,
with suffix wildcard patterns using the *.prefix notation.
@mkaply
Copy link
Copy Markdown
Collaborator

mkaply commented Feb 25, 2026

This is not going to be officially available until Firefox 149, so I'd like to wait to check it in for a couple weeks.

I also want to get the LNA team to review (they are all OOO right now)

@mkaply mkaply closed this Feb 25, 2026
@mkaply mkaply reopened this Feb 25, 2026

If `Locked` is set to true, users cannot change the local network access settings.

**Compatibility:** Firefox 147\
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

149 is really when this is "official"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants