Many local governments must manage growing digital demands while relying on aging infrastructure, tight budgets and systems not designed for today’s security threats.