Twitter has announced a new way to keep your account safe and help you stop attempts to hack it: push notifications.