State lawmakers are looking to social media to prevent mass shootings across the country.

Democratic Senator Kevin Parker of Brooklyn recently introduced legislation that would require applicants to hand over their usernames and passwords for Facebook, Twitter, Instagram, and Snapchat when purchasing a gun.

Applicants would also submit to a search of the last three years of their browser history.

"We're in a new age of new technology and we need new rules. And so we need to begin a conversation about the way that we monitor social media in the way of giving out dangerous weapons," said Kevin Parker, (D) Senate – Brooklyn.

But some gun owners feel it would instead infringe on their privacy.

"What this is doing is giving the government an unlimited access. We don’t know who is going to have access to this. We don’t know what they will do with this. According to the bill, if they deem something necessary, they will investigate it. Well, what does that mean?" said Michael Vasquez, political commentator.

According to the bill, police would be instructed to look out for posts that contained profane slurs and biased language related to race, color, or religion.

Some gun owners believe there are other ways to tackle the problem.

"We can all have a great conversation about ways to stop mass shootings and looking at the core issues that create that environment. And we should. But looking at the bill, the password bill, we're not talking about protecting anyone," said Vasquez.

"Ask the families of the people who were murdered in Pittsburgh if they thought it would be too far to make sure that person — that murderer — didn’t get their hands on a dangerous weapon and weren’t able to kill their loved ones."

Some feel bills like this won't prevent crimes, pointing to the fact that most criminals don't purchase guns legally to begin with.

"This doesn’t stop someone who is deranged or mentally unbalanced from going out and using a car, or a box cutter, or a baseball bat, which we have seen happen," said Vasquez.

So far, no vote on Parker's proposed bill has been scheduled.

Currently in New York, you must submit your criminal and mental health history while obtaining a handful of references when purchasing a handgun.

You must also be at least 21 with no felonies or serious convictions.