There's a product called "Direct Stop" that is useful for deterring charging dogs. It's a citronella spray.