Keep the snake and enclosure clean, wash up after you handle the snake, and don't let the baby touch the snake at least till she is a few years old You can also give the snake baths in a plastic bin, which will help with keeping it clean.

Salmonella from reptiles is actually pretty rare, and if you just use common sense like I described above, I don't think there will be a lot of risk to the baby.