+ 2
Client VS Server instance
Lets say I have a website and a user has a certain amount of virtual credits. Where is the user’s balance from the user’s perspective? If the user, for example, opened a client-side viewer like inspect element, would the balance be on the client, server, or both?
1 Odpowiedź
+ 6
On server. This data must be hidden from user, as the code which returns it. Client-side *asks* server to get this data and only *outputs* the result