within reason

[within reason] {adv.} or {adj. phr.} Within the limits of goodsense; in reasonable control or check; moderate.

I want you to havea good time tonight, within reason.

If Tom wants to go to thefair, he must keep his expenses within reason.

Jean's plans arequite within reason.