Enable or disable referrer check.