7805 V-Regulator mA Question

So as long as I don't attempt to draw more currant then the regulator is rated for I'm good, and if the power adapter is only rated to < or = to the regulators max current rating it's foolproof?