Steven Spielberg has received a restraining order against a woman who has allegedly sent him death threats.