City officials said they had disconnected the Law Department computers from the city’s larger network on Sunday afternoon. It remained unclear who was behind the incident, according to an official.