Protective dogs are being trained to bark at strangers in public.