In the TV show The Shield, Vic has got two autistic children that need special education which demands a bit more money than Vic's salary can afford, so that he goes to his captain and asks for more overtime, more shift and a security detail.
I understand overtime and extra shifts will bring in additional income to Vic, but what does "security detail" mean in the context of a detective within a police station?