Security, and Login database?

I’m interested in creating a game, and was hoping to get some advice for keeping things secure in a login database.

I’d like to use VaRest, with MySQL but unsure how to go about this and the security/integrity of my database.
I’ve read that if not done correctly is a hackers paradise, could anyone elaborate on how?

Any guidance in setup, and security/ more on how it works would be greatly appreciated.

Thanks!

I would look into just general Rest server security having security tokens there are hundreds of different blog posts and articles on it on different ways to implement it. I would have a google around to find the best on for your project.

Thank you for the start, I’ll take a look to get an idea.