Skip to content

Blocked apps

Blocked apps keeps apps made by vendors you choose from opening on your workspace’s Macs, and stops installer packages it identifies as signed by those vendors. Scammers often pose as IT and talk people into installing a remote access tool so they can take over the computer, so we recommend blocking the remote access tools nobody in your workspace uses. Nothing is blocked until you add a vendor.

You manage your workspace’s blocked list in Devices > Configuration Profiles > macOS, in the Blocked apps section under Apps. The Oneleet Agent does the blocking, but the section appears only when your workspace also has Oneleet MDM, which is separate from the agent. If the section isn’t there, contact us about enabling Oneleet MDM.

Admins can change the blocked list. Blocking works on Macs only. Each Mac needs macOS 13 or later, and needs Oneleet Agent 2.6.0 or later to block both apps and installer packages.

You block whole vendors rather than single apps. Each vendor is identified by its Apple team ID, a code of 10 capital letters or digits, and the Oneleet Agent stops any app signed with a blocked team ID from opening. That covers every app the vendor signs, including ones nobody in your workspace has installed yet, and programs started from the command line.

The agent also checks installer packages and stops those it identifies as signed by a blocked vendor. When it does, Installer reports that it couldn’t open the package, and installer -pkg exits with an error.

Blocking doesn’t remove apps already on your Macs. Installed copies stay on each Mac and still appear in Software inventory.

When a change saves, Oneleet instructs each of your Macs to pick it up right away. A Mac that misses that instruction gets the change at its next scheduled check, within 15 minutes. If a Mac can’t reach Oneleet, it keeps enforcing the last list it received until it reconnects and picks up your changes. A Mac that restarts while offline restores the last list it saved. Apps that are already open when the list reaches a Mac keep running until they quit.

The next time someone tries to open a blocked app, they see macOS’s own message that it can’t be opened. Oneleet doesn’t show them a notification, so nothing on screen tells them your company blocked the app.

Your blocked list never blocks unsigned installer packages, or apps with no team ID such as unsigned apps. To have macOS check apps downloaded from outside the App Store before they open, turn on Gatekeeper as well.

Our vendor list groups tools such as TeamViewer and AnyDesk into two categories, Remote access and Peer-to-peer file sharing, and you block each vendor with a switch in the Blocked vendors drawer. When your workspace’s app inventory is turned on, the drawer also shows under each vendor which of its apps are installed on your Macs and on how many, taken from Software inventory, and offers actions that block vendors with no apps installed.

  1. In the Blocked apps section, click Manage blocked vendors. The Blocked vendors drawer opens.
  2. Check the line under the vendor. “Blocking would stop” names the installed apps the block would affect. These lines count only the Macs that Software inventory covers. It leaves out a Mac whose owner was offboarded, for example, so such a Mac can have the vendor’s app while the line reads “No apps from this vendor on your Macs”.
  3. Turn on the switch on the vendor’s row. A red Blocked badge appears on the row.
  4. Close the drawer. Your changes save as you make them.

Software inventory lists App Store copies of a vendor’s apps with Apple as their publisher, so we can match them to a vendor by name only and can’t confirm who signed them. The drawer and the Blocked apps section mark these apps as unconfirmed. To block one, check its team ID on a Mac that has it and block it by that ID.

When at least one remote access vendor on our vendor list isn’t blocked and has no apps installed on the Macs that Software inventory counts, the Blocked apps section shows a recommendation below its blocked vendors. A button directly below Manage blocked vendors reads Block N unused tools, or Block 1 unused tool when only one vendor qualifies. Click it to block all of those remote access vendors at once. The button goes by the installed apps the page shows from Software inventory, and a vendor that has none later on stays unblocked until you block it yourself.

To block every vendor in one category that has no apps installed, open the drawer, clear its search, and click Block vendors with no apps installed in that category. An App Store app whose name matches a vendor counts as that vendor’s installed app, so neither action blocks a vendor with such an app installed.

Block a vendor that isn’t on our vendor list

Section titled “Block a vendor that isn’t on our vendor list”
  1. On a Mac that has the vendor’s app, run codesign -dv /Applications/App.app with the app’s path, and copy the TeamIdentifier value.
  2. In the Blocked apps section, click Manage blocked vendors and scroll to Block a vendor.
  3. Enter the ID in Apple team ID, and check that it belongs to the app you mean to block.
  4. Click Block team ID. The ID appears under Other team IDs. If the ID belongs to a vendor on our vendor list, the button reads Block followed by the vendor’s name instead, and the ID shows on that vendor’s row with its switch on.

We can’t show which apps a team ID outside our vendor list will block. It blocks every app signed with it and every installer package the agent identifies as signed with it, including ones your team may rely on. Software inventory doesn’t mark those apps as blocked.

Block or allow a vendor from Software inventory

Section titled “Block or allow a vendor from Software inventory”

In the Software inventory table and on each app’s page, a red Blocked badge marks apps whose publisher matches a vendor you’ve blocked from our vendor list. App Store copies don’t get the badge.

  1. Open Software inventory and click a macOS app.
  2. In the card at the top of the page, click Block or Allow followed by the vendor’s name.
  3. Confirm in the dialog. The block dialog names the vendor’s installed apps that Software inventory matched by publisher, which leaves out App Store copies. The block itself covers every app signed with the vendor’s team ID, whether or not the dialog names it.

The buttons appear only for vendors on our vendor list. For any other vendor, or an App Store copy we can’t confirm, the card points you to block it by its team ID in Configuration Profiles instead.

Open the Blocked vendors drawer and turn off the vendor’s switch, including for a vendor on our list that you blocked by entering its team ID. For an ID that isn’t on our vendor list, click Remove next to it under Other team IDs.

To block both apps and installer packages, a Mac needs all of these:

  • The Mac runs Oneleet Agent 2.6.0 or later.
  • The agent is signed in.
  • The agent has Full Disk Access. The default macOS policy that Oneleet MDM pushes grants it. Without it, the agent doesn’t block and tries again every 15 minutes.
  • The Mac runs macOS 13 or later.

Your blocked list never stops apps with no team ID, such as unsigned apps, so Gatekeeper is the check macOS still makes on apps downloaded from outside the App Store. Set it up alongside your blocked list so macOS assesses those apps before they’re allowed to launch.

  1. Go to Devices > Configuration Profiles and select macOS. The Gatekeeper section sits directly above Blocked apps.
  2. Set Enable Gatekeeper to On.
  3. Set Disable user override to On. Otherwise, a person can override Gatekeeper for an app it stopped.

These settings also save as you change them, and Oneleet MDM installs them on the Macs enrolled in your workspace’s Oneleet MDM. A Mac that only runs the Oneleet Agent doesn’t get them. When a Mac has its own value for one of these settings, that value applies instead of your workspace’s. If a Mac doesn’t follow your workspace settings, check its override in Override a setting for one device.

A setting left on Unset isn’t sent to your Macs. The secure defaults leave Disable user override unset, so set it yourself even if you applied them.

The “Oneleet Agent devices have Gatekeeper enabled” monitor shows which Macs have Gatekeeper turned on. It doesn’t check Disable user override.

Blocking happens on the Mac, and the dashboard doesn’t show blocked launches on the device page, in the activity log, or anywhere else. The dashboard also can’t show whether a Mac is enforcing the list, so a Mac on an older macOS version, or one where the agent lacks Full Disk Access, looks the same as one that’s blocking. When a blocked app still opens, check what the Mac needs to block apps.

A blocked vendor’s background services that start when the Mac boots can run anyway, because on every boot they can start before blocking is active.

A blocked vendor’s installer package can still install when the agent can’t check who signed it in time. If that happens, the apps it installed are still blocked when someone tries to open them, but its install scripts have already run.

A Mac that belongs to more than one workspace blocks every vendor that any of those workspaces blocks. Allowing a vendor in your workspace doesn’t unblock it on a Mac that another workspace also blocks it on.

A workspace can block up to 500 team IDs.

If any of these limits gets in the way, tell us through the Feedback link at the bottom of the app’s sidebar or in your dedicated Slack channel with us.