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..

Replies

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.

Add a Comment

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 want to make data loss prevention product.

    And I'm using endpoint security.

    I don't know if that would have been an answer.

Add a Comment