Jennifer Lopez has been granted a temporary restraining order against her alleged stalker, who is believed to have a history of violence according to her bodyguard.