Prevents attacks