Lawmakers have set a hearing for a bill that would prevent bosses from demanding access to private information within their employees' Facebook or Twitter accounts.

The Legislature's Business and Labor Committee will hold a hearing on the proposal Monday.

The bill by Sen. Tyson Larson of O'Neill would make it illegal for employers or potential employers to request the information from a worker or job applicant.

The bill would prevent employers from ordering a worker to log onto a social media site in the employer's presence. Employers also would be barred from demanding passwords or accessing an account indirectly through a friend or third party.

The law would not apply to information posted by employees that's in the public domain.