Information
Apple Events is a technology that allows one program to communicate with other programs. Remote Apple Events allows a program on one computer to communicate with a program on a different computer.
Rationale:
Disabling Remote Apple Events mitigates the risk of an unauthorized program gaining access to the system.
Impact:
With remote Apple events turned on, an AppleScript program running on another Mac can interact with the local computer.
Solution
Perform the following to disable Remote Apple Events:
Graphical Method:
Open System Preferences
Select Sharing
Uncheck Remote Apple Events
Terminal Method:
Run the following commands to set Remote Apple Events to Off:
$ sudo /usr/sbin/systemsetup -setremoteappleevents off
setremoteappleevents: Off