← Back to context

Comment by ChrisMarshallNY

13 hours ago

Well, one of the "nice" things about classic mac OS, was that you could write an app that could register with the system, to receive every user event (like keypresses and mouse movements). We used to make fun extensions, with this...

I'm sure that couldn't ever be abused...

The new UNIX-based OS may have its warts, but it is just a bit more secure.

(Generally, to avoid confusion, the classic version is written "Mac OS" and the modern version "macOS", with various versions of "OS X" between.)

Modern macOS can do this too, you just have to ask the user for permission. You can see it in System Settings → Privacy & Security → Input Monitoring

  • On modern macOS applications can flag an input field as secure, which blocks keypress interception. The permission is fairly new, but the actual feature has always been there as part of the window server. I used it back in the 10.4 days to implement macro recording.

    Classic Mac OS extensions on the other hand had free rein to modify any part of the kernel. They really could modify anything.