java - Best way to ensure a principal information is not edited with javascript -


i have react app , api send links user has access to.

from them, creates menu.

i might still need role of principal client side choose display or not information.

i thinking create checksum of principal object in java , send principal object serialized react client.

i need able evaluate checksum client using javascript user cannot use modified principal information (and modified role).

what appropriate way so?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -