I'm one of those mean moms who doesn't let her kids have all their halloween candy. I just can't. It is too too much sugar for those little bodies. But I don't snatch it away from them while they're kicking and screaming either. We've talked about health and why it's not good for us to eat 200 pieces of candy in a week and they're good with it. So this is what we do.
The kids get to eat some halloween night when we get home, and then the next morning they sort through their candy, putting it in piles and trading if they like. This year I let them choose 30 pieces they can be in charge of (last year I only did 15, so they should be pretty happy with that) and eat whenever they like. The full size candy bars count as 3. The rest goes to mommy. In exchange they get to choose out whatever book they like at the book store. They like this exchange. My kids are kind of book nerds, and I love it.