Preventing Aim/Recoil Compensation

Since the dawn of multiplayer shooters, developers have to deal with apps running on the client machine or even connected devices assisting players achieve perfect accuracy, either through recoil compensation inputs or snapping the camera to the nearest target’s head instantly.

What strategies have you used or heard of to combat this problem?