In terms of morals or ethics.
In keeping of requirements of morality.
To all intents and purposes; practically.