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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:23:20+00:00 2026-06-04T16:23:20+00:00

I know I cant prevent people from reverse-engineering my protocol but I’d like to

  • 0

I know I cant prevent people from reverse-engineering my protocol but I’d like to take a security-through-obscurity approach to make it as hard as possible.

I have a server/client system that communicates through the network with http style packets.

Example:

Header
Attribute: Value
Attribute2: Other Value

Payload

I would like to make it as hard as possible for anything other than my client to access the network. Pushing problems with them decompiling my assemblies aside – what would be some good things I could do to this network spec that would make it VERY DIFFICULT to understand and make another implementation without the source?

I was thinking some kind of strange hashing approach or some kind of encryption algorithm that would be difficult.

EDIT I’m not trying to protect my assemblies or source-code. I’m trying to prevent someone from, for example, watching my protocol with WireShark or similar and then making their own implementation based on that information.

  • 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-04T16:23:22+00:00Added an answer on June 4, 2026 at 4:23 pm

    All right, three cases:

    • Users can’t access server code and can’t access client code: Easiest way is to use a pregenerated shared secret stored in the binary, and aes encrypt/decrypt.

    • Users can access client or server code but not both: Use a public/private key method. You can encrypt using the public key but the private one is needed to decrypt.

    • Users can access both client and server code: You’re screwed.

    If you want to improve security, this static key should only be used during session initiation, to generate a new shared secret, which is then used for communication.

    Edit: actually, a more easy and safe solution is to use ssl and certificates (it’s a mantra that you shouldn’t implement your own encryption) Each certificate comes with a secret private key. As long as users don’t have access to that you’re safe if you verify that the peer has the exact correct certificate.

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

Sidebar

Related Questions

i know there are a lot questions like this but i really cant get
I know this is really simple but I cant find the docs for this
I know this is kind of easy question but i cant seem to find
I dont know what happend but I cant register any dlls anymore. It seems
I know about $(Delphi) and $EDNAME but after much seaching I cant find a
I know the question I'm asking must be answered somewhere but I cant find
hello i know this has been asked and answered many times but i cant
Is there anyway to prevent people from using Reflector.net to decompile my .exe c#
I know you cant do that with the Facebook API. Does OpenSocial allow me
I know we cant keep objects directly in redis queue. I converted it to

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.