WASHINGTON—Citing growing threats to American commerce from online attacks, President Barack Obama on Monday proposed new legislation aimed at combating online fraud, protecting digital privacy and creating new corporate responsibilities in the event of data breaches.

In a speech at the Federal Trade Commission, Mr. Obama unveiled proposals designed to protect consumers’ personal and financial information, as well as the privacy of student data collected by schools and corporations—emphasizing the scope of recent attacks...