Control personal device and local network permissions in Firefox

Firefox Firefox Emelitere ikpeazụ: Aka elekere 6 gara aga 100% of users voted this helpful
Ọnwebeghị onye nyere aka tụgharịa asụsụ edemede a. Ọ bụrụ na ị marala otu ịtụgharị asụsụ maka SUMO si arụ ọrụ, bido ịtụgharị asụsụ ugbu a. Ọ bụrụ na ị chọrọ ịmụta otu esi atụgharị edemede maka SUMO, biko bido ebe a.

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.

progressive rollout banner 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:

  • Allow access for that visit
  • Block 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 Device apps and services, the prompt looks like this:

devicepermissionschanged

For Local network devices, the prompt looks like this:

localnetworkchanges
Tip: If you want Firefox to remember your choice for the site for all future visits, you can also check the Don’t ask again for this site box.

Configure access permissions

  1. In the Menu bar at the top of the screen, click Firefox and select Settings (select Preferences on older macOS versions).Click the menu button Fx89menuButton and select Settings.
  2. Go to the Privacy & Security panel.
  3. Scroll down to the Permissions section.
  4. Find Device apps and services, and click Settings….
  5. Here you’ll see a list of sites that have requested this permission.
  6. Use the dropdown menu next to each site to change access.
  7. Find Local network devices, click Settings…, and repeat steps 5-6.
permission

For Device apps and services, the prompt looks like this:

deviceservices

For Local network devices, the prompt looks like this:

localnetwork

Advanced Configuration (about:config)

For users who need more control over local network access behavior, Firefox provides advanced preferences accessible through about:config. advancedconfiguration

Warning: Changing these preferences requires careful consideration and may affect how websites interact with your local network.

To access these preferences

  1. Type about:config in the Firefox address bar and press Enter
  2. Click "Accept the Risk and Continue" if prompted
  3. Search for the preference name you want to modify
  4. 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:

  1. Press F12 or Ctrl+Shift+I (Windows/Linux) / Cmd+Option+I (Mac) to open the Web Console
  2. Look for messages related to local network access
  3. 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:

  1. Open the Web Console (F12) to capture relevant error messages (usually starting with Local Network Access ...)
  2. File a bug in Bugzilla under the Core :: Networking component
  3. 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
  4. File a bug here

Related articles

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More