Apple to Block Mac Apps From Secretly Accessing Your Clipboard

Apple is planning to implement a change to pasteboard (aka your iPhone's internal clipboard) that will prevent Mac apps from being able to read the pasteboard without the user being alerted, according to information Apple has shared with developers.

apple developer app feature
In macOS 16, Mac users will get an alert when a Mac app reads the pasteboard without direct user interaction. This change means apps won't be able to surreptitiously view the things you've copied and pasted.

Mac users won't see an alert with a direct pasteboard-related action, like when copying and pasting text within an app that supports it. Users will be notified if an app tries to view pasteboard data when the paste feature hasn't been used.

Apple says that the Mac pasteboard will work similarly to the iOS pasteboard going forward. On the ‌iPhone‌ and iPad, Apple blocks apps from snooping on pasteboard data, and has done so since iOS 14 after security researchers found that dozens of popular iOS apps were reading the contents of the pasteboard without user consent.

Apple addressed the problem by adding a banner that notifies you when an iOS app accesses the clipboard. In iOS 15, Apple further enhanced the feature by introducing a secure paste option that prevents developers from seeing the clipboard entirely unless you copy something from one app and paste it into the app you're actively using.

With the upcoming Mac changes, Mac developers will be able to "examine the kinds of data" on the pasteboard without actually reading them, improving pasteboard privacy. Pasteboard data used with the privacy-focused API won't show the alert to end users. From Apple's notice to developers:

Prepare your app for an upcoming feature in macOS that alerts a person using a device when your app programmatically reads the general pasteboard. The system shows the alert only if the pasteboard access wasn't a result of someone's input on a UI element that the system considers paste-related. This behavior is similar to how UIPasteboard behaves in iOS.

New detect methods in NSPasteboard and NSPasteboardItem make it possible for an app to examine the kinds of data on the pasteboard without actually reading them and showing the alert. NSPasteboard also adds an accessBehavior property to determine if programmatic pasteboard access is always allowed, never allowed, or if it prompts an alert requesting permission. You can adopt these APIs ahead of the change, and set a user default to test the new behavior on your Mac.

Apple software engineer Jeff Nadeau mentioned on Mastodon that Apple has come across Mac apps that are continuously scraping the pasteboard in the background, but at the same time, there are apps that need pasteboard manipulation, which is why Apple has designed the new APIs.

Mac apps will also need to get user permission to access the pasteboard in some situations. Apple says that developers are able to test the upcoming pasteboard changes with their apps ahead of when the functionality rolls out to users.

Popular Stories

iOS 18

Apple Releases iOS 18.5 With New Wallpaper, Screen Time Changes, Carrier Satellite Support for iPhone 13 and More

Monday May 12, 2025 10:06 am PDT by
Apple today released iOS 18.5 and iPadOS 18.5, the fifth updates to the iOS 18 and iPadOS 18 operating systems that came out last September. iOS 18.5 and iPadOS 18.5 come a little over a month after Apple released iOS 18.4 and iPadOS 18.4. The new software can be downloaded on eligible iPhones and iPads over-the-air by going to Settings > General > Software Update. The iOS 18.5 update has a...
iPhone 17 Pro Blue Feature Tighter Crop

WSJ: Apple Weighing Price Hikes for iPhone 17 Lineup Without Blaming Tariffs

Monday May 12, 2025 3:36 am PDT by
Apple is considering raising prices for its upcoming iPhone 17 models set to release this fall, according to people familiar with the matter cited by The Wall Street Journal. The company reportedly aims to pair the potential price hikes with new features and design changes to justify the increased cost to consumers, rather than attributing them to U.S. tariffs on goods from China. The...
tvOS 18 Feature

Apple Releases tvOS 18.5

Monday May 12, 2025 10:01 am PDT by
Apple today released tvOS 18.5, the latest version of the tvOS operating system. tvOS 18.5 comes a little over a month after the launch of tvOS 18.4, and it is available for the Apple TV 4K and Apple TV HD models. tvOS 18.5 can be downloaded using the Settings app on the ‌Apple TV‌. Open up Settings and go to System > Software Update to get the new software. ‌Apple TV‌ owners who have...
macOS Sequoia Feature

Apple Releases macOS Sequoia 15.5

Monday May 12, 2025 10:10 am PDT by
Apple today released macOS Sequoia 15.5, the fifth major update to the macOS Sequoia operating system that launched last September. macOS Sequoia 15.5 comes a little over a month after the launch of macOS Sequoia 15.4. Mac users can download the ‌‌‌macOS Sequoia 15.5‌‌‌ update through the Software Update section of System Settings. It is available for free on all Macs able to run ...
iOS 18

iOS 18.5 Expected This Week With These New Features

Monday May 12, 2025 7:20 am PDT by
Following more than a month of beta testing, Apple is expected to release iOS 18.5 to the general public this week. While the software update is relatively minor, it still includes a handful of new features and changes for iPhones. Below, we recap everything new in iOS 18.5. Pride Wallpaper Apple recently announced its 2025 Pride Collection, including a new Apple Watch band, watch face,...
Beyond iPhone 13 Better Triad

20th Anniversary iPhone Will Be Mostly Glass With All-Screen Design

Monday May 12, 2025 2:52 am PDT by
Apple will mark the 10th anniversary of the iPhone X in 2027 by launching a mostly glass, curved iPhone without any cutouts in the display, according to Bloomberg's Mark Gurman. Writing in his latest Power On newsletter, Gurman said the all-screen device will arrive later in 2027, suggesting a fall release. The model will be preceded by Apple's first foldable iPhone, claims the reporter....
Apple Logo Spotlight Blue

Report: Apple Preparing to Launch Mind-Control Support for iPhones

Tuesday May 13, 2025 6:18 am PDT by
Apple is planning to allow users to natively control iPhones, iPads, and other devices using brain signals later this year, The Wall Street Journal reports. The initiative involves a partnership with Synchron, a neurotechnology startup that produces an implantable brain-computer interface (BCI) device called the Stentrode. The Stentrode enables users with severe motor impairments, such as...

Top Rated Comments

TechnoMonk Avatar
1 day ago at 05:10 pm
Long overdue. Apps have no business snooping clipboard.
Score: 35 Votes (Like | Disagree)
EightyEight Avatar
1 day ago at 05:18 pm
“Apple has come across Mac apps that are continuously scraping the pasteboard in the background”

Which apps exactly?
Score: 16 Votes (Like | Disagree)
rp2011 Avatar
1 day ago at 05:34 pm
Whiners are going to whine; this should have been standard a long time ago. Thank you, Apple!
Score: 13 Votes (Like | Disagree)
jz0309 Avatar
1 day ago at 04:33 pm
I like this on iOS so sure looks like a good feature to me.

But

In macOS Sequoia 16,
so the next version of macOS will continue to be called Sequoia??? That's a leak that even Gurman didn't mention :p
Score: 12 Votes (Like | Disagree)
Blackstick Avatar
1 day ago at 04:34 pm
Score: 12 Votes (Like | Disagree)
dempson Avatar
1 day ago at 07:20 pm

I must've missed the memo when the clipboard was renamed to pasteboard
My understanding is that it was called the Pasteboard on NeXTSTEP, which is the ancestor of Mac OS X. The user-facing description was Clipboard when Mac OS X was introduced, as that was the established name on classic Mac OS, which continued through modern macOS and iOS.

Mostly for compatibility reasons, the underlying programming interfaces still use NeXTSTEP names such as NSPasteboard, inherited for consistency by later programming interfaces such as UIKit for iOS (UIPasteboard).
Score: 10 Votes (Like | Disagree)