Preventing Vegas-like attacks