Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Apr 04, 2012 at 07:04 PM by Eric5h5 for the following reason:

Question is off-topic or not relevant

avatar image
0
Question by Xerosigma · Apr 04, 2012 at 06:54 PM · securityobfuscation

Obscuring Data - General Tips & Suggestions?

I'm working on a standalone game and was wondering what the pros have to say about obscuring important data to prevent easy fiddling. I'm currently storing most of my data via SQL but have been considering using PlayerPrefs for some data that may not be changed/sent very often to avoid excessive SQL queries.

I'm aware that client side calculations can easily be compromised with de-compilers and such since one can virtually see your code. Additionally I am aware that the PlayerPrefs file can be accessed and changed. And of course, I'm aware of hex editing.

In general I was thinking I could create a hash using user specific data + a random integer and check against it. But I'm not sure how far that'll get me.

Additionally was was thinking I could develop a kind of CRC. What I had in mind was something like this:

We have a some data fields: Level, Atk, Def.

Level is used as the common multiplier for Atk & Def. So Level x SomeAmbiguousNumber should equal Atk. So if one tries to edit Atk, when the CRC hits, it'll be obvious the calculation is incorrect and will revert back to the original value. It would also work the other way around. If they try to edit Level, it'll be obvious that the other vars, Atk & Def, do not correspond to the sum of the calculation.

This is just an idea I had. Not sure if there is an easy, effective, or built in way to do this but I'm shooting for it. Let me know what your thoughts are. Would like to know if something similar has been done or if there are more effective methods out there.

Thanks in advance.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eric5h5 · Apr 04, 2012 at 07:03 PM 1
Share

This should be posted on the forums, since it's a discussion question, not really appropriate for UnityAnswers.

avatar image Xerosigma · Apr 04, 2012 at 07:10 PM 0
Share

Understood. Sorry about that. Discussion link: http://forum.unity3d.com/threads/130763-Obscuring-Data-General-Tips-amp-$$anonymous$$gestions-Anyone

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Are there any services/tool to protect/secure my standalone game from hacks in unity3d pro version ? 0 Answers

Keeping my files safe to a download? (obfuscation) 2 Answers

Players can decompile my game and find out the login and password to my sql server.... WHAT DO I DO?? 5 Answers

Desktop Game & More 2 Answers

security of Asset Server 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges