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 8090521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:45:02+00:00 2026-06-05T19:45:02+00:00

How can an application authenticate itself to a server? Lets say I release an

  • 0

How can an application authenticate itself to a server? Lets say I release an android application that can connect to my web server.

Is there any way I can assure clients use the application i made, and not a third-party one? I assume it is possible to reverse-engineer to get the source code of my app (it seems proguard is not perfectly safe) and thereby a third party could easily make an app impersonating mine.

Does TLS/SSL solve this issue, and if so, how? I could require the client to send my server a certificate from a trusted authority, thereby laying the responsibility of authentication on the trusted authority. But how does this work in practice? Lets say i produce self-signed certificates, which I add to the servers truststore. How do I safely distribute these to app users?

Maybe i’m missing something basic here, but anything to point me in the right direction would help!

  • 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-05T19:45:04+00:00Added an answer on June 5, 2026 at 7:45 pm

    In general, you cannot. The app code is public – nothing prevents baddies from reverse engineering it and emulating the protocol to a tee. More discussion here.

    Code obfuscation is your best bet. Specifically on Android, check out ProGuard. No rock solid guarantee, but maybe the baddie will lose patience. 🙂

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

Sidebar

Related Questions

I have a java application that needs to connect to a server. Its rather
I need to create a method for my intranet web application that will authenticate
In my application I authenticate users using Devise and I noticed that you can
Section 7.1.6 of the Modeshape docs say 'Your application can now create and remove
I have an ASP.NET c# web application published to a server of ours. It
I am building a web application on Google App Engine that requires users to
I have a web application where users can add recommendations , post comments etc
I'm working on an ASP.NET4.0/C# application for a public site that needs to authenticate
We are developing a web application that uses forms authentication and the ActiveDirectoryMembershipProvider to
Immagine a web application written in python/django in which users authenticate with digital certificates

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.