One strategy would be for Twitter to implement a two-step authentication system. In one common implementation, when users log into the site from their laptop, Twitter would send them a passcode to a second device, such as their mobile phone. They would then need to enter that code as well as their login and password to access the site.
Calls for Twitter to adopt such a system resurfaces whenever the site is hacked, but the AP attack could become a tipping point, said nCircle's Storms.
If Twitter doesn't want to mandate two-factor authentication for all accounts, the company could require it only for accounts that pass a certain number of followers, he suggested.
Two-step verification could be offered to big brands and other prominent accounts, agreed Jon Oberheide, cofounder and chief technology officer at Duo Security, which develops authentication software.
But accounts that employ two-step authentication may still be susceptible if those who use the accounts are subjected to an email phishing attack, said Impermium's Risher. "The hacker could fake a log-in page asking you for the code you just received," he said.
Alternatively, a phishing attack could be used to install a keystroke logger on a user's computer, recording their login and password the next time they enter it.
As an alternative, Twitter and other social networks should look more closely at how users interact with their services and watch for signals that might indicate unauthorized activity, said Risher, whose company develops algorithms to identify such activity. It might look at how users engage with content and how often they tweet and are retweeted, for example.
Twitter could also employ a risk-based authentication method, by asking users personal identification questions when they log in from an unfamiliar computer, for example.
Users could do more to safeguard their own social media accounts, however. Using stronger passwords, changing them frequently and protecting Wi-Fi networks with passwords are all recommended practices. Having a weak password may have played a role in the AP's account breach. The Syrian Electronic Army tweeted the alleged password "APm@rketing" later this afternoon.
But the onus should be on the social media sites to ensure the security of their users' accounts, Risher said. "It should be like an 80/20 split," he said, adding, "the lion's share of the work should be done by the sites."
Apple, Facebook, and Google are among the companies that already offer two-step authentication as an option for users.
Twitter is a big target for breaches because of its immediacy, Obenhaim said. One of Twitter's primary purposes is to disseminate information in near real time, for example, while company pages on Facebook are often less active.
Other ideas that have been floated to keep accounts and identifies safe online include the use of "physical" passwords, which could take the form of a piece of jewelry. In a research paper released in January, Google said the current strategies, including the two-step verification system, are insufficient.
The stakes are high when it comes to cyber security, as Tuesday's stock market tumble showed. "Brand or character defamation is no longer the only outcome," said nCircle's Storms.
Posting fictitious tweets about outrageous behavior by employees at Burger King is one thing, but tweeting that the president has been injured following an explosion at the White House "can have a serious impact" more broadly, Duo's Oberheide noted.
Such hacks are also more significant since the U.S. Securities and Exchange Commission said it would allow public companies to disclose material corporate information on social media sites.
The SEC declined to comment Tuesday on the AP's and other recent Twitter hacks.