P
P
Programmir2021-02-05 12:11:28
Information Security
Programmir, 2021-02-05 12:11:28

Are the prices taken from a field or a database?

I'm working on something right now. And there the price tag is taken from the get or post parameter and then payment is made. It also means that the user can enter any data in the browser and pay any amount. How do they generally act in such cases? They leave everything as it is, is it like the consumer is to blame for acting in bad faith? Or take price tags from the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-02-05
@bacon

All user input should always be checked, and of course prices are taken from the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question