The vast majority of applicants for U.S. visas will now have to hand over their social media usernames along with previous email addresses and phone numbers, according to a newly imposed rule. Applicants for pretty much all visas, except for certain diplomatic and official ones, will have to give five years’ worth of phone numbers, email addresses, and social media handles as part of the application process.

The State Department was already collecting social media information, but only for those who had been identified for additional scrutiny, including people with a history of traveling to areas controlled by terrorist groups. That meant some 65,000 people had to hand over that information. But now the number will include around 14 million applicants for nonimmigrant visas and some 700,000 applicants for immigrant visas. Although applicants will be able to say they don’t use social media, lying about it could lead to “serious immigration consequences,” a State Department official said in an interview with the Hill.

For now the form only includes the most popular social media platforms, but soon applicants will be able to list all the sites they use. “This is a critical step forward in establishing enhanced vetting of foreign nationals seeking entry into the United States,” the official added. “As we’ve seen around the world in recent years, social media can be a major forum for terrorist sentiment and activity. This will be a vital tool to screen out terrorists, public safety threats, and other dangerous individuals from gaining immigration benefits and setting foot on U.S. soil.”

When the new rule was proposed last year, the ACLU called it “ineffective and deeply problematic.” The move “will infringe on the rights of immigrants and U.S. citizens by chilling freedom of speech and association, particularly because people will now have to wonder if what they say online will be misconstrued or misunderstood by a government official,” the ACLU said.