Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1516

Is there a way to store how many times users press a button securely

$
0
0

A general question about the concept of request sniffing and re-sending.

Current approach: When user taps the button, they send a request and increment their numPressed field in a database. What stops a malicious user from sniffing this request and sending it on repeat without actually pressing the button.

Current solutions: Having a timestamp since last press to prevent excess requests. Still wouldn't ensure that the button was pressed.

Current stack: flutter, firebase.

Not necessarily interested in the used stack only but interested in this security concept as a whole. Thank you.


Viewing all articles
Browse latest Browse all 1516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>