Appropriate security measures for smart grids