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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:01:07+00:00 2026-05-12T23:01:07+00:00

I am working on an update function for a pet project of mine, and

  • 0

I am working on an update function for a pet project of mine, and was wondering if I need to spend the time to make sure my connections are secure?

Basically the client sends the version number of the software on the users computer to a server, the server checks the users version against the latest version available, and if a newer version is available the server sends a url where the update can be downloaded from.

With this simple communication is it necessary to worry about SSL or other security measures?

I am writing the update server and client in C#, and this is the first time I’ve worked with Sockets in C#.

  • 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-12T23:01:08+00:00Added an answer on May 12, 2026 at 11:01 pm

    If you don’t use SSL, an attacker could poison the client computer’s DNS records with a fake record to your server, actually pointing to the attacker’s fake server.

    When the client that is curious about need for upgrade attempts to contact http://www.yourdomain.com, the operating system will make a DNS request to find the IP address associated with that name. The client DNS request will be sent to whatever DNS server is configured on that client. For example, the client DNS server might be their wireless router, which in turn is configured to contact the ISP DNS server. The ISP’s server contacts the root authority, which refers the request to your “authoritative” DNS server. At this point in the normal (unhacked) scenario, the DNS server contacted first by the client receives, and caches, the response. This response is in turn sent to the client, satisfying the request for a name to IP address mapping.

    The purpose of contacting a nearby DNS server is to allow that server to cache the response, so that subsequent lookups for the same name return quickly and without generating off-network traffic. This cache can be a weakness. If an attacker “poisons” the DNS cache that is going to be queried, they can effectively “hijack” your name to IP address mapping, from the perspective of the client that is using that cache.

    The fake server could then inform a client to ‘upgrade’ to trojan horse software.

    So the answer “depends on your liability.” Whatever answer holds for the negotiation you describe should also be applied to download the client — otherwise attacker can potentially be in the middle of that download and change what is downloaded.

    I would suggest you do use SSL, but the answer depends on business factors more than technicalities of your version negotiation.

    The above answer leaves aside the fact that recently SSL was found vulnerable to man-in-the-middle attacks. This will be fixed by various SSL implementations soon enough that I really only mention it in passing. It’s nothing to worry about, and the point is that SSL is designed precisely to prevent the sort of attack I described.

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

Sidebar

Related Questions

I working on project and have problem with threading and update of UI. I
I am working on a project with FusionCharts that requires me to update a
I'm working on some application which has auto-update function. The implemented idea is simple
The update function is working within my ruby console as shown below, but the
I'm trying to submit an update function, but for some reason it's not working
I get this error when I do an svn update : Working copy XXXXXXXX
We are working on an update system for our software. The updater should run
-edit- nevermind, i made a mistake in my select statement. Update was working correctly.
UPDATE As I've tried to get MEF working throughout my application, I'm coming across
Update: Solved, with code I got it working, see my answer below for the

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.