As permitted by law; not contrary to law.
From a legal perspective.
In a thoughtfully measured or regulated manner, eschewing extremes.