I carry pepper spray whenever I'm riding in an area where stray dogs are a concern. I thought that this was fairly common among cyclists It certainly works well on German Shepherds. I wouldn't pull it out on an attacker; it would likely only aggravate the situation.