The sun shines on Maine's Capitol in this spring file photo.

AUGUSTA, Maine — The Maine Legislature has sent to the governor’s desk one of the strictest online privacy proposals in the country.

The Senate gave final approval by voting unanimously in favor of the bill on Thursday.

The bill prohibits internet service providers from using, disclosing, selling or permitting access to a customer’s personal information unless a customer “opts in.”

[Subscribe to our free morning newsletter and get the latest headlines in your inbox]

It also requires providers to take reasonable measures to protect customers’ personal information from unauthorized use, disclosure, sale or access. And it prohibits providers from refusing to serve customers or charge customers who do not consent to their personal information being shared.

The Maine State Chamber of Commerce opposes the bill, saying it is bad policy to pass such restrictions on a state-by-state basis.