SACRAMENTO (CBS/AP) — California Gov. Jerry Brown has signed a pair of privacy bills making it illegal for employers and colleges to demand access to social media accounts.

Brown announced on Thursday that he signed AB1844 by Assemblywoman Nora Torres, a Democrat from Pomona. The bill prohibits employers from demanding user names and passwords from employees and job applicants.

READ MORE: VIDEO: Space X Launch Lights Up Pre-Dawn Sky; Crew Headed Toward Space Station

The restriction does not apply to passwords or information used on employer-issued electronic devices.

The governor also signed SB1349 by Sen. Leland Yee, a Democrat from San Francisco. The companion bill makes it illegal for colleges and universities to demand social media user names and passwords from students and prospective students.

READ MORE: UPDATE: Police Activity Cleared On Eastbound Lanes Of Bay Bridge; Commute Traffic Brings To Flow

Brown announced the bills via Twitter, Facebook and Google Plus.

He says the legislation will protect Californians from“unwarranted invasions.”

 

MORE NEWS: Rising Sea Level Threatens Stinson Beach Neighborhoods

(Copyright 2012 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)