Grounding digital input 1 - dangerous?

Yes I was assuming that you were eliminating the boot loader. No problem though in place of a ground just put a 220R pull down resistor. That will look like a logic zero when the pin is an input and will limit the current to a safe value when it is an output.