• 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 /
avatar image
0
Question by thi.donada · Sep 10, 2015 at 12:34 PM · androidsecuritysoomla

Soomla and Security

Hello everyone,

I'll release my first game soon for Android, and I'm using Soomla framework for In-app purchases. One of my beta testers is a hacker and he could hack the prices in my store by editing the values for the prices in a hex editor.

Is there a way to prevent or at least make it more difficult to happen? Aren't the prices fetched from the google play store?

Sorry I don't have much knowledge regarding security.

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 pmaloo · Sep 11, 2015 at 03:06 AM 0
Share

Did your friend actually go through and complete the transaction? Editing the game file using a hex editor, and updating what prices are shown in the game is not the same as changing the transaction price. The actual transaction is taking place on the server side. Hex editing shouldn't impact the value of the transaction that is finally completed.

However, things will be different if the IAP request is routed to a private server pretending to be the IAP provider.

The answer suggested below by @y_nizan is one way to make it harder to cheat. Grow has an excellent feature of server side verification. However, you have to realize that Unity does not obfuscate your code, and its actually very easy to extract almost verbatim (along with you game assets). A skilled hacker can simply modify the source, and repackage it to give him IAP benefits for free.

avatar image thi.donada pmaloo · Sep 11, 2015 at 11:44 PM 0
Share

Yeah, I know the prices are fetched from the server, that's why I found it strange, I'll check if the transaction was successfully completed. I'll check the package bellow.

I use Anticheat Toolkit plugin to obfuscate some important variables in my code, it would be nice if Unity had some kind of obfuscation or security natively though.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by y_nizan · Sep 11, 2015 at 02:11 AM

Hi,

You can upgrade to Grow Spend Package - http://know.soom.la/unity/grow/growspend_gettingstarted/

It includes fraud protection by syncing all the data with the server.

Its Free BTW.

Yaniv

Comment
Add comment · Show 1 · Share
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 thi.donada · Sep 11, 2015 at 11:45 PM 0
Share

Thanks, I'll check it!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Fail to operate Soomla/Unity and do not understand the error 2 Answers

Better data protection for offline mobile game 1 Answer

How to implement soomla in unity for android in app purchase ? 2 Answers

Facebook unity sdk 5.0.3 and soomla 1 Answer

Purchases showing as tests 0 Answers


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