Fix security settings for domain