Fix major security flaw.