Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I prevent tampering with data? (Data Store)

Asked by 5 years ago
Edited 5 years ago

What am I trying to achieve?

I have a Data Store system in place that uses a Remote Function to receive data from a module script in my ServerScriptStorage. I was planning to use the same method to save data, but I came across a potential problem I can't find a solution to. My problem is that pesky exploiters would be able to invoke the server with fraudulent data, and I would have no way of stopping it with my current system, as the request could be mimicked using a fabricated table.

The only solution I can think of is: comparing the data (when changed) to its former value. Once again, I have a big problem with this system. I can't think of cases where I would deem an interaction as fraudulent or suspicious without also potentially hurting the players I actually care about.

EDIT: I'm going to add that values such as Money are non-linear, as in I don't have set values to give out. The Money would be distributed using a formula I created, but there is not a range I can say for sure would be safe.

Any help is appreciated.

0
Don't you have some sort of approval system in place in which the server makes sure that the values are in a reasonable range? For instance, a you can take the most money a player is capable of generating in a given amount of time, and set that as the limit for an amount money added to the current total. davidgingerich 603 — 5y
0
its the hackers fault that they are hacking, like in probably a week they will get bored of ur game anyways aHahah greatneil80 2647 — 5y
0
Don't use remotes like this, period. You don't need to anyways. User#24403 69 — 5y
0
The best solution is only to use the RemoteFunction to get data to the client and never let the client send any info to the server. Save the data on the server and update it on the server as well. The client just InvokesServer when it needs the data. BlackOrange3343 2676 — 5y

Answer this question