💥🌾🌾FARMING GAME 🍠🍠 WITH LIVE LEADER BOARD🏆💥
PYer (2542)

A game inspired with the help of @Atari7! With a live leaderboard, you can compete with friends and compare your skills to other players! Complex strategy, never-ending fun, will keep you busy at night. A farming extravaganza, with strategy, thinking, farming, and a bit of luck, have fun!

PS: Those of you who have seen this before, it now works for anybody!

You are viewing a single comment. View All
LoneAce (191)

Just asking out of curiosity, does using Flask and hiding the database inside a .env make the data more secure? I would like to implement this into my own projects if it means that people are not able to change the server data to whatever they want. Thanks

PYer (2542)

not really. it prevent people from deleting scores as well as manually changing the average and scores/ usernames. Basically, it prevents them from having complete control, but they can still add any scores they want by visiting the site. The main reason was to make it harder to change, but people found out still. @LoneAce

LoneAce (191)

@PYer Yea I expected that. However, if the Flask server was to return a piece of data from a .env file does it mean that another person can just make another repl and use the same app.route to get the data?

PYer (2542)

they could open up the flask app without opening your repl. then they oculd see any of the returned data. @LoneAce

LoneAce (191)

@PYer Right. But what if the repl is a private one made using a Hacker plan? Will the data be more secure? If it is I will consider subscribing

PYer (2542)

i don't think so. Anybody could still view the flask server. just not the code. @LoneAce

PYer (2542)

no problem. you could ask @pyelias he developed a secure way to create data, that includes a flask server. It's somewhere in these comments. @LoneAce