dontallow is a small background agent for macOS that automatically presses the Don't Allow button on the system prompt asking if an app can find devices on local networks.
Who it’s for
Mac users running macOS Sequoia or later who want to bypass repetitive local network access prompts.
What it does, according to the maker
- Automatically presses Don't Allow on local network prompts within a fraction of a second
- Runs with zero CPU usage while idle and survives reboots
- Provides a pause command to temporarily stop dismissing prompts
- Supports an allowlist to keep specific apps from being touched
How to get started
- Run brew install johncassil/tap/dontallow or make && make install
- Run dontallow install to set up the background agent and grant Accessibility permissions
Availability
Requires macOS 13 or later to build and macOS 15 Sequoia or later for the prompt; English-localized macOS only.
Good to know
- Requires Accessibility permissions in System Settings to click the prompts.
- Built with Apple's Command Line Tools and supports both Apple Silicon and Intel.
- Licensed under the MIT license.