ID:270256
Feb 19 2006, 12:07 pm
|
|
Is their anything you can put in your code so that your host can't mess around with stuff?
|
Feb 19 2006, 12:07 pm
|
|
Could you be more specific?
|
In response to Nadrew
|
|
I think he means is there a way to make it so that the host can't edit their save file. Am I right?
|
In response to KirbyRules
|
|
right
|
In response to Artemio
|
|
The code that Crispy provides, doesn't that let the person edit the files, but then I have to do something about it, like deleting the file, or something. Is there a way where if they try to edit it, it just won't change at all? Instead of changing, and then punishing the person.
|
In response to Critical Productions
|
|
You can obfuscate the data you're trying to protect using some form of two-way encryption; you simply encrypt the data when writing it, and decrypt when reading it. However, that kind of encryption is generally relatively easy to break, should someone make a more-than-half-hearted attempt to do so.
If you do decide to go this route, I recommend you implement the md5() protection as well (that I outlined in that post), for some additional security. That form of protection isn't impossible to break, but it's much harder to do so. |