With laws going into effect New Year's Day, the two have joined Michigan, Maryland, Delaware and New Jersey as states that prohibit such demands for social media passwords, CNET reported Wednesday.
A number of states have passed or are considering such statutes after Congress failed to pass the Password Protection Act of 2012.
While under the laws in those six states employers cannot demand an employee's password, there is nothing keeping them from viewing the public information employees openly include in social profiles on sites such as Facebook, Twitter or other social networking sites.
Lawmakers and social media companies say they receive many complaints from users of such sites about employers attempting to gain access to their accounts during job interviews and even after hiring.
Astronomers offer more expansive view of universe
LGBT community has 'bullied the American people': Bachmann