Councilmembers approved a plan on Tuesday to apply for federal grants to help protect and prevent against cyberattacks.