You can't. At least in infosec the managers at the place you are applying to will call up your current manager and as many of your coworkers as they can about you. The last place I interviewed at, even before the interview random coworkers were asking me about it.
In tech in general "you have no privacy" especially applies to job hunting.
It is dirty and trashy but apparently only some states have it illegal.
References are for HR, hiring managers and back-channel chatter are something else. YMMV.