Gov. Jerry Brown announced Thursday that California will be joining Maryland and Illinois as the third state to ban employers and universities from demanding social media login passwords.

Brown announced the decision on Twitter and Facebook.

“California pioneered the social media revolution,” Brown posted on his Facebook timeline. “These laws protect Californians from unwarranted invasions of their social media accounts.”

Assemblymember Nora Campos (D-San Jose) introduced the legislation, AB 1844, in February. The bill prohibits any employer requests of social media log-in information of both potential and current employees. Bundled with Campos’ bill is a state Senator Leland Yee’s (D-San Francisco) SB 1349. Yee’s bill specifically forbids both public and private universities from demanding log-in information from students, potential students and student groups.

The demand of personal log-in information by employees and schools has been a growing trend, especially with law enforcement applicants, but it will not entirely stop employees and universities from snooping into personal lives. It is still perfectly legal for employers and universities to look at someone’s page as long as the information is public.

Facebook, despite its dubious history on privacy, has a policy in place to prevent outside parties from accessing personal profiles. The company’s Statement of Rights and Responsibilities instructs users not to share their passwords with any third party. Michigan and Minnesota have similar bills to California’s pending.

The federal government seems to think states should decide on implementing new laws individually.In March, the Republican-dominated House of Representatives voted 236 to 184 to block an amendment that would have given the Federal Communications Commission the power to prohibit employers from demanding log-in information.