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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:16:26+00:00 2026-05-17T01:16:26+00:00

I have a java application that needs to connect to a server. Its rather

  • 0

I have a java application that needs to connect to a server. Its rather simple to ensure that the server is not spoofed using SSL but I can’t seem to wrap my head around on how the server would authenticate the client to ensure that the request is coming only from a trusted party. Only the first communication needs to be authenticated. During that communication step the client and the server will exchange some information that will be used to subsequently authenticate the client.

One approach I can think of is to digitally sign the application and then send the digital signature of the application to the server. The server verifies the digital signature to authenticate the client. Now I have a couple of questions regarding this:

  1. Is it possible to get the
    application’s digital signature from
    within itself. If it is, then how?
    (I’ve tried searching for this on
    the internet but couldn’t find any
    way to do so)
  2. Is it possible to extract this signature using other means such as
    a HEX editor. If this is known then
    anyone can just send that signature
    to the server and spoof the client.

Also, please let me know if I am totally on the wrong track here 🙂

EDIT: By “trusted party” i mean an “Unmodified client”

  • 1 1 Answer
  • 1 View
  • 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-05-17T01:16:26+00:00Added an answer on May 17, 2026 at 1:16 am

    Also, please let me know if I am
    totally on the wrong track here 🙂

    You are 🙂

    Your goal is to “ensure that the request is coming only from a trusted party” – if “trusted party” is interpreted as “trusted user”, this is the standard authentication problem that millions of websites around the world solve daily via simple password authentication. If you want to get fancy (and inconvenient/expensive), you can use SSL client certificates or RSA tokens.

    However, you seem to interpret “trusted party” as “trusted user using an unmodified client”, where “unmodified” includes modifications done on purpose by the user.

    Well, forget about that. Can’t be done, unless you let the user only use physically secured hardware provided by you. It’s simply not possible to protect software from being manipulated arbitrarily by someone controlling its execution environment. The movie industry has spend billions, forced new standards to be more complicated and expensive to implement due to encryption and license requirements, and alienated many of its customers trying to do that, and failed (repeatedly).

    Edit:
    It seems like it’s not even about the client at all (as in protecting it against modification, usually that means anti-piracy measures), it’s apparently about controlling access to the server. In that case, stop wasting brain time thinking about the client. That’s not your problem. Access to the server is. So start thinking about the protocol, how it authenticates clients and what requests it will accept. Fix your protocol so that “pretending to be the client” is a non-issue because requests other than those the legitimate client might send simply won’t be accepted.

    • 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 collect and report a large number
I have a Java application that is managed using Maven. The project involves the
I have a standalone java application that fires up several JMS consumers using the
I have a website with a Java Applet and that applet needs to connect
I have created a java SE application that uses the mysql database using mysql
My Tomcat needs to connect to another web server (at https://foreign.example.com ) using SSL
I have 2 java web apps that need to connect to SQL Server Database
I do have a java server. I am trying to build IPhone application that
I have a client-server java application, where communication happens over SSL. Right now I
We have a Java application that needs to be brought to the foreground when

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.