is unity3 security more that unity2.x?is it possible to heck/decode asset files?
asked Aug 26 '10 at 04:50 PM
Anything "readable/downloadable" can be caught and analyzed offline. Once this happends, its just a matter of brain and CPU power.
I develop with this in my mind and place every possible bit of "serious logic/data" within a server and places the data behind a login or some other kinda of authentication + add some "personal data" + "checksum" per session.
So, even if data is copied and tampered, it wont make any use with MY program.
Ofcause if its a matter of protecting interlectual rights (copyright etc) then dont publish the game/program. Nothing is really safe. You can make it harder to copy, but not prevent if they really want it.
You could make it a bit annoying for the lazy of the hackers/crackers.
I havent testet this yet, but back in Flash some protect their applications by this pattern:
Feel free to expand on this like:
so that even after decompiling the first module, you need to decompile the next, but you cant download the next easily as its only available while the session is valid.
This might sound messy, but I believe that one of the ways to protect against most "newbies" is to put in some sort of time-validation between requests + dont give away import things before needed. Split your modules/assets/packages into small bits so it gets to be a hell to grab it all.
Lastly, obfuscation is very well known too. Replacing normal variables/filenames with strange "coded" names.
Eg. "EndOfLevelMonster" becomes "A1252435" etc.
answered Nov 20 '10 at 02:54 AM
AFAIK, there weren't any changes in that area from 2.6 to 3.0. There's two pretty lengthy forum threads:
Generally speaking, decoding the script-code is very easy and getting the art assets (in particular models) is pretty hard because Unity uses a proprietary format for those.
answered Aug 26 '10 at 08:43 PM
Just don't forget the one rule that NEVER changes along the line of the entire human race. If enough people want something bad enough...
answered Nov 19 '10 at 11:57 PM