Safeguarding the Electrical Grid