Move security check setting to AppUtil