State Sen. Bruce Tarr (R-1st Essex and Middlesex) has filed a bill that would bar Internet service providers from selling customers' Internet browsing and connection data to third parties without the customers' consent.

Tarr's bill would also bar the companies from charging customers a fee to keep their data private.