Jump to content
  • Advertisement
Sign in to follow this  
Kikketer

Secure files, data, with Java?

This topic is 4415 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm planning on creating an application in Java that uses SQLite to hold a whole pile of data. The problem is I don't want people messing around with my database outside of my application, does anyone know a good way to secure this? On that same thought, how would someone save information after the application is closed, but prevent people from modifiying it. I'm sure there is some sort of easy way to do this, but from my searches I've found nothing. It doesn't help I really don't know what to look for.

Share this post


Link to post
Share on other sites
Advertisement
Short answer: you can't. If it's on the client, it's insecure. Anything you do will only be a delaying tactic, which may or may not be worth your time. This topic has been covered a lot so you'll find lots of good stuff searching the forum.

You can encrypt stuff to try and prevent modification, but your app will have to decrypt it to work on it, so your encryption method will be far from secure. You may also want to use checksums and other hashing methods to detect modification when it happens (but again, these aren't 100% either).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!