Picking a WAF configuration for a voting application

0

We have an Amplify hosted application that effectively has a voting component - where the URL has an identifier as part of it to cast a vote - so, for "Yes" the URL goes to https://domain.com/vote/?answer=YES and no goes to https://domain.com/vote/?answer=NO There are rules around voting, so we save a client-side cookie as to whether you have already voted. So, the URL hits our server, it responds with a redirect and a cookie to log the fact you voted on the client machine. So, if you go to vote again, it sees the cookie and either doesn't allow your vote or changes the prior vote. We clearly don't want bots voting, so it looks like putting WAF in front of the URl would help. There appear to be an infinite number of WAF configurations. Does anyone have a configuration suggestion that would allow us to protect the voting URL from fraudulent use?

GregC
preguntada hace 3 meses113 visualizaciones
1 Respuesta
0

Hello.

Amplify does not directly support AWS WAF, so you need to link AWS WAF to CloudFront.
https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/enable-aws-waf-for-web-applications-hosted-by-aws-amplify.html

For AWS managed rules, I think the "Bot Control" rule group below will help you block bots.
https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html

Also, in this case, if you think that access from people other than the client is unnecessary, I thought that the following "IP reputation rule groups" might be useful.
https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-ip-rep.html

profile picture
EXPERTO
respondido hace 3 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas