In an email on Friday, brokerage firm Scottrade Inc., alerted customers to a data breach, which affected 4.6 million people.

Scottrade learned about the problem after being contacted by the FBI. According to the email sent to customers, and a public notice, the authorities learned that Scottrade was compromised while investigating other data-theft cases.