r/programminghelp • u/Ambitious_Prune_7374 • Sep 02 '25
Java how can I deploy a webapp safely?
I've built a front & back end in separate apps, can containerize if needed. its just a simple link shortener, so no account needed
For front end, I know sites like Vercel have a way to deploy so I was thinking of using that for now unless someone has other advice here. i think it will automatically rate limit on the free/cheapest plans
For back end, what I'm worried about is bots or spammers going wild against this page and I dont know how to deal with that. If I deploy to AWS for example, is there some way to rate limit or shut down the IP if its getting too much traffic? or what even is the best practice here
View all comments
Show parent comment
1
u/Lewinator56 Sep 03 '25
You can rate limit endpoints, but it's easier for things that need it, like signing in, to use a captcha.
You're highly unlikely to suffer a denial of service attack, but you could suffer high throughout of rogue signups so using a method to prevent this is a good idea.