Chinese authorities are knitting together old and state-of-the-art technologies — phone scanners, facial-recognition cameras, face and fingerprint databases and many others — into sweeping tools for authoritarian control, according to police and private databases examined by The New York Times.

Once combined and fully operational, the tools can help police grab the identities of people as they walk down the street, find out who they are meeting with and identify who does and doesn’t belong to the Communist Party…

The rollout has come at the expense of personal privacy. The Times found that the authorities parked the personal data of millions of people on servers unprotected by even basic security measures. It also found that private contractors and middlemen have wide access to personal data collected by the Chinese government.

This build-out has only just begun, but it is sweeping through Chinese cities. The surveillance networks are controlled by local police, as if county sheriffs in the United States ran their own personal versions of the National Security Agency.