Canine stomachs have a much higher acidity than do humans. Also, their intestinal tract is much shorter. Those two things combined decrease the odds of dogs contracting many bacterial infections. If the acidity doesn't kill it, they pass it through too quickly for much to take hold.
Also, having worked in medical labs most of my life, humans do contract things like salmonella and E. coli. However, a lot depends on on the bacterial load in the food eaten (how many bacterial particles in the food, bacteria multiplies rapidly at certain temps... so, how long did Aunt Jane leave that mayo salad out on the counter?), whether the person is immuno-compromised in any way (HIV, very young, very old, otherwise previously ill, already on antibiotics that have destroyed the protective normal flora in our bodies), and the strain of bacteria present.
Personally, I am much more afraid of catching hepatitis from restaurant-prepared food than a bacterial infection. Bacteria are rarely fatal (see exceptions above) and can be treated with antibiotics. Viral hepatitis is indigenous in certain cultures and there is no real treatment beyond a liver transplant. I avoid eating in public restaurants / fast food because many food service workers come up positive for hepatitis when tested after an illness outbreak. Also, I worry about proper handwashing after bathroom use. That is how most human caused foodborne illness is contracted...food worker doesn't wash hands after toileting, touches your food, you eat contaminated food and get sick.
Back to dogs...raw food for dogs is no more dangerous than raw food for humans. Some people eat sushi, yes? And I like my beef rare. It's all in how you handle your dog's food. Same as humans...freeze if not using immediately, defrost under refrigeration, use proper sanitary technique for serving (I sanitize cutting boards and surfaces before and after contact with raw food, bowls get put in dishwasher after each meal, never prepare raw dog meal while family food is out on counter...), freeze pork for one month before using (trich is very rare in US, but...), I only serve human grade fish or fish that I have caught / gutted / cleaned / inspected, serve wild game only from known and trusted sources and frozen for one month.
I've never seen worms contracted from human grade meat. Freezing would take care of most of that anyway though. Most human parasite infections are caused by the oral-fecal route (hands to mouth after being contaminated), picking it up from infected animals, soil contact, ... Bacteria, viruses, and parasites are all over our environment. The marketing of "anti-bacterial" soap is a bunch of propaganda. Proper handwashing depends on the friction of rubbing the hands and fingers with any soap and water for at least 20 seconds (sing Happy Birthday or Yankee Doodle twice through while lathering and rubbing) and then rinse in a downward direction. Do not touch the faucet handles and try to hit the paper towel dispenser button or air dryer with your elbow. Then use the paper towel to turn off the faucet. When exiting the bathroom use the paper towel to open the door to the outside, then dispose of the paper towel.
Alcohol based (60%) waterless hand sanitizers are an even better alternative to soap and water washing. I keep them in all of our cars, backpacks, purses as well as at the door where we enter / exit to our cars. I sanitize my hands frequently throughout the day...after touching shopping carts, dirty door knobs, after touching things in the meat case at the grocery, and when I enter / leave the house. None of us have had colds for a few years now. And need I say that most people should have flu shots yearly, pneumonia shots if you are at risk.
Here's a good site on handwashing...
http://www.mayoclinic.com/health/hand-washing/HQ00407
Oh, and an excellent moisturizer is critical if you properly wash your hands as frequently as is suggested by most health practitioners. Even rubbing a bit of petroleum jelly into your hands before bed can keep your hands from becoming dried out.