How periodic data cleanups can avoid a cyber attack