WASHINGTON -- The House, despite White House objections, has passed a cybersecurity bill aimed at helping stop electronic attacks on critical U.S. infrastructure and companies.

The vote was 248-168 on Thursday. The measure would encourage companies and government to share information collected through the Internet to stop electronic attacks from foreign governments, terrorists and cybercriminals.

The information sharing would be voluntary.

The White House has threatened a veto, saying the bill fails to protect Americans' privacy. The administration prefers a Senate measure that would give the Homeland Security Department the primary role in overseeing domestic cybersecurity and the ability to set security standards.

The Senate bill remains stalled, facing opposition from some senior Republicans.

Read or Share this story: