The Department of Homeland Security may start requesting social media passwords from people trying to enter the country, according to the head of the department, according to NBC News.

On Tuesday, John Kelly, who heads up the homeland security efforts and oversees border protection and immigration, told Congress that one of the measures his office was considering as part of new "extreme vetting" procedures for those coming to the U.S. was having them allow U.S. officials to go into their social media accounts.

"We want to get on their social media, with passwords," he said to the House of Representatives' Homeland Security Committee. "What do you do, what do you say? If they don't want to cooperate then you don't come in."

Kelly claimed that the move may be necessary, as officials "don't have a lot to work with" when they're vetting people coming to the U.S. "When someone says, 'I'm from this town and this was my occupation,' [officials] essentially have to take the word of the individual," he said. "I frankly don't think that's enough, certainly President Trump doesn't think that's enough. So we've got to maybe add some additional layers."

The move is even more invasive than the possibilities outlined in previous reports, which said Kelly as well as members of the White House staff were considering asking for the social media profiles of visitors, but that didn't include requesting information to enter the accounts. A big question, as is still the case with Trump's Muslim ban, is the legality of the measure if it were to be instated. For instance, what are the parameters for someone to be "rejected" by U.S. customs or border patrol based on what's found on their social media profiles? How does the fact that social media profiles are owned by third party websites play into the potential policy?

According to International Business Times, Kelly, however, told the committee that no decisions had been made about moving forward with the social media idea, though his department was focused on tightening up vetting and entry measures regardless.

Related: The White House May Start Vetting Social Media Accounts of People Visiting the U.S.

Check this out: