Tucker Carlson and New York Sen. Kevin Parker debated a bill proposed by the Brooklyn Democrat that would call for a social media check by the government for anyone in the state applying for a gun license.

Parker's bill would allow the New York State Police to investigate "for certain posts and/or searches over a period of 1-3 years prior to the approval of such application or renewal."

He said on Tuesday that his bill is all about making New York safer and wouldn't infringe on the rights of the state's residents.

"This law simply says, let's look at what people are putting out on social media as part of a set of criteria we're using to determine who gets handguns," he said.

MA Gov. Seeks Removal of Judge Who Allegedly Helped Illegal Immigrant Evade ICE Agent

Carlson fired back, asking Parker why the bill couldn't apply then, to someone running for office.

"Why restrict it to gun owners?," he asked. "Why shouldn't I have the password to your social media accounts so we can assess whether you should be wielding the power that you do? ... Would you send me your passwords?"

Parker said that his bill is simply about access to guns, and that there's a direct correlation with the number of firearms available in a state and the prevalence of mass shootings.

Carlson then asked the senator about the bill's seemingly intrusive nature.

"Do you think it's a little intrusive that the government would be forcing citizens to turn over their social media passwords to the police before doing something that the Constitution guarantees them something the right to do? That doesn't bother you in any way? That doesn't seem a little bit, say, totalitarian?"

Sen. Parker said that although people have the right to free speech, lawmakers have a right to deny them firearm permits if their speech might lead to them endangering the lives of others.

"You text me your Facebook password," Carlson said. "I'm going to assess what I think of it."

The New 'Deplorables' Insult? 'The Five' Responds to HI Sen. Hirono Boasting About Dems' Intellect

'Your World' Panel: Is Trump's 'Task Force' Targeting USPS Relationship With Amazon?

'George Told Me I Only Had 10 Minutes': Former Sen. Simpson Remembers Bush 41's Sense of Humor