Working on allowed domains and file types