This website uses cookies to ensure you get the best experience.
Learn more.
A developer stores a derived total in a hidden page item and trusts it when charging the customer. What is safer?
Published
- Rename the hidden item to SECURE_TOTAL
- Recompute or validate the authoritative amount on the server from trusted data
- Set the item's CSS visibility to hidden twice
- Increase the number of decimal places in the browser
Comments — 0
Sign in to comment