California college students’ social media profiles could soon be protected from scrutiny.

On Tuesday, the California Senate unanimously passed a bill that would prohibit colleges and universities from requesting access to students’ social media accounts. The bill now moves to the desk of Gov. Jerry Brown for passage by the end of the month. California employees and job applicants could also soon gain protection—a bill that would protect their social media accounts is currently awaiting a Senate vote.

California’s legislation comes just a few weeks after Illinois passed a law that bars employers from requiring job applicants or employees to disclose their social media account passwords. The Illinois law takes effect Jan. 1, 2013. Similar online privacy laws already exist in Maryland and Delaware, and a handful of other states are currently working on similar bills.

Other states aren’t so keen on protecting online privacy. The Wall Street Journal Law Blog reports that student-athletes at the University of Kentucky and University of Louisville are required to surrender their social media privacy if a monitoring system catches any red flags in their social media postings. Words flagged by the system include “Muslim,” “Arab” and any words related to drugs, alcohol or sex.

For more InsideCounsel coverage of social media, read:

4 tips for employers drafting social media policies

Judges more open to using social media

Illinois passes social media privacy law to safeguard employee passwords

How in-house lawyers are using social media

Social media stats: In-house counsel’s new media use by the numbers

NLRB memo offers social media policy guidance

What not to do when reviewing job applicants’ social media pages

11 tips for crafting a social media policy

3 companies discuss social media governance policies

Congress, workers unions fight back on companies’ strict social media policies

Companies ask job applicants for Facebook passwords