resilient and secure grids