Pasteboard control when Ctrl + v

Can I control the pasteboard when user try to Ctrl + v?

There's no option or related event in endpoint security.

I'm came up the 'method swizzling', but it doesn't seem like a good way.

Plz help me..

I’m presuming that you mean Command-V?

There's no option or related event in endpoint security.

Correct. Endpoint Security operates in the global context [1] so it has very limited scope for dealing with events that happen in a specific GUI session.

I'm came up the 'method swizzling' …

That’s a bad idea in general, but it’s unlikely to help in this case because there’s no single process where you could a swizzle method.

Can you give us more details about your high-level goal?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] For more background on this, see Technote 2083 Daemons and Agents.

That's right. I mean Command-V.

My goal is to ensure that the user cannot paste the contents of the pasteboard into a process that I don't want.

Thx for reply.

My goal is to ensure that the user cannot paste the contents of the pasteboard into a process that I don't want.

Is this part of a wider Endpoint Security product? Or some standalone functionality?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I am also interested in using a potential Endpoint Security hook to monitor and block pastes to specific apps for a data loss prevention product.

Is this something that would be possible to add so DLP products can stop doing more complicated and less effective monitoring (i.e global event taps and/or accessibility framework)?

Pasteboard control when Ctrl + v
 
 
Q