You can make cookie dough that's safe to eat by heat-treating your flour and using pasteurized eggs — or use no eggs at all.