Validate the integrity of the solana program request content

Hi folks,
Suppose I have a simple web UI to connect wallet and click a button to invoke a solana program transaction. Since the call is happening actually on user’s host machine/the browser, there is a chance somehow the sol smart contract request metadata can be altered.

Is there a way to validate that ?