Recent hacks of high-profile accounts on X, formerly Twitter, are putting a spotlight on the social-media platform’s security — and serving as a reminder that every user should take steps to protect ...