Protecting Voltage Regulator

1117's for example don't like that much.

True but the OP was talking about an 7805.