legally
adverb
LAW uk/ˈliːɡəli/ usaccording to the laws of a country or state:
Immigrant workers must carry an identity card proving they are in the country legally.
The public is being denied access to information to which it is legally entitled.
Your employer is not legally obliged to continue paying your salary.
At the moment I am legally bound not to talk about it.
These agreements will be legally enforceable as from May next year.
legally binding
a legally binding agreement, contract, decision, etc. is one that the law says you must obey:
Each order that is accepted constitutes a legally binding contract between the seller and the purchaser.