Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8877473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:28:36+00:00 2026-06-14T19:28:36+00:00

I am working on a cross platform app that will be created using C++->

  • 0

I am working on a cross platform app that will be created using C++-> mobile devices, and using Perl-> Desktop PCs (like Windows /Linux/Mac OS).

Now, since the app will be downloadable, I have concerns regarding the ability of hackers to obtain the source code of my app.

Specifically, the app will connect to my central database– at the minimum, I want that hackers are not able to obtain my database connection details. Ideally, I would want no part of the code to be hacked.

Basically, the user can update some of his information using this app– if hackers get hold of this data they can easily change any unfortunate user’s data. One thing that I have thought of is that the user will have to initially authenticate with OAuth/OAuth2 ( using his email ID @yahoo/@hotmail/@gmail)– and only after that the app will actually show the admin interface. But at any rate, at some point the app will connect to the central database– which is why I dont want the database’s access details to be compromised.

Many organisations make such apps, so they must be facing this type of problem themself? I would like to know how I can protect my app (ideally entire code), and atleast the db credentials.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:28:38+00:00Added an answer on June 14, 2026 at 7:28 pm

    The previous answers are absolutely correct. You want a server based service layer that provides the authentication/authorization code and interacts with the database. However, it isn’t always a perfect world and if you are stuck with the requirement that these applications must act as a database client you want to limit the exposure as much as possible. Typically this is done by having the client use a specific account which has not been granted any access to the general database. You then create specific stored procedures that can only do the operations and queries that are required of the application. This prevents anyone finding the credentials in the code from doing anything in the database that isn’t intended, but you still have the problem that anyone can impersonate someone else by reviewing the code. There isn’t a way to prevent that without a server side component. This might be okay for a closed/trusted group of users, but I wouldn’t release anything to the general public with this method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a cross platform mobile application using phonegap (html,javascript) problem is
I'm currently working on a cross-platform mobile app and have gone through the process
I am working on a cross-platform mobile game for Android and iOS devices. I
I'm working on a HTML5 cross-platform Survey application using jquery mobile, phoneGap , and
I created a cross-platform DLL in C++ that compiles on both Windows and Mac
I'm working on an application that I need to be cross-platform. I'd like to
I am working on a cross platform OpenGL project and it seems that all
I'm working on a cross platform C++ application for Windows, Mac OS X and
If I'm working on a cross-platform project that uses dbus-java, what do I need
Need to be cross-device -working for every mobile manufacturer that gives support to JavaME

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.