Security re-write