How do I make my Mac stop responding to an Apple remote?

OS X 10.5: Go to Security in System Preferences.app, then select Disable remote control infrared receiver at the bottom.

newer versions of OS X: Go to Security and Privacy in System Preferences.app, then click on Advanced at the bottom and select Disable remote control infrared receiver.