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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:52:20+00:00 2026-05-23T07:52:20+00:00

In an app, I Have a network server and clients. After a handshake, let’s

  • 0

In an app, I Have a network server and clients.
After a handshake, let’s say the client sends "userId sessionId SOME_COMMAND param param param".

I have already identified the client and the sessionId is checked on the server accordingly, so identity is no more an issue.

But I’d like to prevent a hacker to modify the message or create a false one, for example sending "userId sessionId SOME_COMMAND paramModified paramModified paramModified".

I thought about using a pair of private/public encryption keys, and send the hash of the message in the message itself. But since it’s automated in the client program, I may have to send the public key during the handshake. So the hacker could simply retrieve it and generate the proper hash.

I could also use complex encryption seeds or algorithms, but my experience with hackers has shown me that they will decompile anything.

So the bottom line is: I can hide everything that runs on the server, but I can’t hide anything on the client program. And I’d like to to forbid to modify the message that the client program is supposed to send.

I don’t even know if it’s possible. And I’m opened to any suggestion. And by the way, I’m using Java, although it should not be very relevant. Thanks.

  • 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-05-23T07:52:21+00:00Added an answer on May 23, 2026 at 7:52 am

    Forget it. Use SSL like everybody else. There are complexities which you haven’t even begun to address.

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

Sidebar

Related Questions

I have this situation.... Client-initiated SOAP 1.1 communication between one server and let's say,
I have a WinForms client-server app running on a Novell network that produces the
I have the following situation: .net 3.5 WinForm client app accessing SQL Server 2008
The scenario is that we have a client/server app with the client install being
We have an app that needs to access network resources. It's written in VB.Net.
I have an app written in C# that lies on a network share. When
I have read in many places that network connection in a j2me app should
I have a client-server application - wherein the server is essentially an ASP .NET
So, I have a GWT client, which interacts with a Python Google App Engine
I am building a Client server app in java ,here is my code Client

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.