Hello.
Actually I have a system in my unity game to reset the account password.
But if the user click on the button 300 times, there will be 300 emails sended.
What can I do to protect the server againts this type of 'attack' ?
And what can I do to protect the server against people really attacking it by sending a lot of requests ?
And another question, is there any 'Change email/password' system ?
Thank you.
How to protect against abusive requests ?
Re: How to protect against abusive requests ?
Hi,
for the specific question of spamming a button in the game UI, a cooldown or a counter could be used.
With a counter you can keep track of how many times a button has been pressed in the same session and limit the number of requests.
A cooldown instead works by disabling the button after a press for a certain amount of seconds/minutes and re-enables it at the end of the timer. Both approaches can be used, even together and they are pretty simple to implement.
As regards how to protect from attacks I recommend the Security Whitepaper from our whitepaper section in the docs:
https://www.smartfoxserver.com/download ... curity.pdf
It explores many different types and levels of attack, including flooding and how to protect against them.
Hope it helps
for the specific question of spamming a button in the game UI, a cooldown or a counter could be used.
With a counter you can keep track of how many times a button has been pressed in the same session and limit the number of requests.
A cooldown instead works by disabling the button after a press for a certain amount of seconds/minutes and re-enables it at the end of the timer. Both approaches can be used, even together and they are pretty simple to implement.
As regards how to protect from attacks I recommend the Security Whitepaper from our whitepaper section in the docs:
https://www.smartfoxserver.com/download ... curity.pdf
It explores many different types and levels of attack, including flooding and how to protect against them.
Hope it helps
Who is online
Users browsing this forum: No registered users and 151 guests