how to secure XMLs

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

how to secure XMLs

Post by Guest »

I noticed that XML is better and easier to save a scene as done by etcaptor in visual editor. But it is not secure , anyone can edit them in thier text editors and u loose whatever in the scene , or the whole scene can be changed with anything . So how to secure such situation .
Gonosz
Posts: 24
Joined: Wed Oct 29, 2003 4:21 pm
Location: Hungary (one joke and you're dead)

Post by Gonosz »

You could use some checksum calculation (like CRC), and store the result in the source code. Before loading, just calculate it again, and see if the two values match.
Post Reply