To better protect your privacy and security, Firefox includes permissions that control whether websites can access apps and services on your local network and local device. This change stops websites from exploiting them without your knowledge.
This feature is experimental and is being introduced to the Firefox user base through a progressive rollout. It may not yet be available to all users.
Why is Firefox adding these permissions?
Websites can attempt to access your personal device — such as your computer or local network — and connected devices — such as routers, printers and local web servers — without your permission. Malicious sites have used these capabilities to track you or scan for vulnerable devices.
To keep you safe and help you stay in control of your data and devices, Firefox now asks for your permission when a site tries to connect to your device or local network.
What to expect when a site requests access
When a website tries to access your device or local network, Firefox will display a permission prompt similar to those for accessing your camera or microphone.
You can choose to:
- access for that visit
- access for that visit
You can also choose to have Firefox remember your decision for all future visits. You can change it anytime in your Settings.
What is considered ”device apps and services”?
"Device apps and services" are your personal computer and all the applications installed on it.
What is considered a "local network device"?
Local network devices are any hardware connected to the same local network as your device. This includes:
- Routers
- Printers
- File servers
- Smart TVs
- Media streamers
- IoT (Internet of Things) devices
Accessing these devices over the network could allow websites to interact with or retrieve data from them. A permission check helps prevent sites from doing so without your knowledge.
Manage access permissions to your device and local network
When a site tries to access other apps and services on your device or your local network, Firefox will show a permission prompt near the address bar, asking you to allow access.
For , the prompt looks like this:
For , the prompt looks like this:
Configure access permissions
- In the Menu bar at the top of the screen, click and select (select on older macOS versions).Click the menu button
and select .
- Go to the Privacy & Security panel.
- Scroll down to the Permissions section.
- Find , and click .
- Here you’ll see a list of sites that have requested this permission.
- Use the dropdown menu next to each site to change access.
- Find , click , and repeat steps 5-6.
For , the prompt looks like this:
For , the prompt looks like this:
Advanced Configuration (about:config)
For users who need more control over local network access behavior, Firefox provides advanced preferences accessible through about:config.
To access these preferences
- Type about:config in the Firefox address bar and press
- Click "Accept the Risk and Continue" if prompted
- Search for the preference name you want to modify
- Double-click to change boolean values (true/false) or click the edit icon for other values
Available preferences
network.lna.enabled (boolean)
- Default: true
- Controls whether local network access checks are enforced
- Setting to false disables all local network access restrictions
network.lna.blocking (boolean)
- Default: true
- Controls the blocking behavior for local network access
- Setting to false allows access without prompts when enabled
network.lna.block_trackers (boolean)
- Default: false
- Experimental feature that blocks third-party trackers from accessing localhost and local network resources
- Setting to true provides additional protection against tracking scripts
network.lna.skip-domains (string)
Default: (empty) Comma-separated list of domains that should skip local network access checks Can include both source domains (websites making requests) and target domains (local resources being accessed) Supports wildcard patterns with *. prefix (for example *.company.com) Example: intranet.company.com,*.devices.local
Troubleshooting and monitoring
If you need to see detailed information about local network access attempts or diagnose issues:
- Press or (Windows/Linux) / (Mac) to open the Web Console
- Look for messages related to local network access
- The console will show which requests were blocked or allowed, helping you understand what's happening
For enterprise environments, administrators can use the LocalNetworkAccess policy to manage these settings organization-wide. See the Firefox Enterprise Policy Documentation for more information.
Report issues
If you encounter unexpected prompts or believe a website is being incorrectly blocked or allowed:
- Open the Web Console (F12) to capture relevant error messages (usually starting with Local Network Access ...)
- File a bug in Bugzilla under the Core :: Networking component
- Include in your bug report:
- The website URL where you saw the unexpected prompt
- What you expected to happen vs. what actually happened
- Error messages from the Web Console
- Whether the site is trying to access a local device or local network resource
- File a bug here