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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:36:54+00:00 2026-06-06T11:36:54+00:00

My users are using MS Access and ODBC connector to connect to my remote

  • 0

My users are using MS Access and ODBC connector to connect to my remote MySQL database. I wonder how secure this is, in the sense of possible password disclosure to 3rd party. Is the mysql protocol authentication safe to eavesdropping or even man-in-the-middle attacks? I would be quite happy with safety against eavesdropping. Note that my concern is only authentication, I’m not concerned about data disclosure.

Please don’t reply that I should use SSL. I know this would be ideal however the setup doesn’t seem very simple. Anyway, I would like to know what is the safety level of plain mysql protocol.

  • 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-06T11:36:58+00:00Added an answer on June 6, 2026 at 11:36 am

    What is it that you want to be “safe to eavesdropping or even man-in-the-middle attacks“? Your password, or your data?

    The title of your question refers specifically to authentication. MySQL does a reasonable job of protecting your password from eavesdroppers (it is not sent plaintext, and the use of a nonce defeats replay attacks). Citing MySQL protocol internals:

    MySQL 4.1 and later

    Remember that mysql.user.Password stores SHA1(SHA1(password))

    • The server sends a random string (scramble) to the client
    • the client calculates:
      • stage1_hash = SHA1(password), using the password that the user has entered.
      • token = SHA1(scramble + SHA1(stage1_hash)) XOR stage1_hash
    • the client sends the token to the server
    • the server calculates
      • stage1_hash’ = token XOR SHA1(scramble + mysql.user.Password)
    • the server compares SHA1(stage1_hash’) and mysql.user.Password
    • If they are the same, the password is okay.

    (Note SHA1(A+B) is the SHA1 of the concatenation of A with B.)

    This protocol fixes the flaw of the old one, neither snooping on the
    wire nor mysql.user.Password are sufficient for a successful
    connection.
    But when one has both mysql.user.Password and the
    intercepted data on the wire, he has enough information to connect.

    However, authenticated sessions continue in plaintext: an eavesdropper will be able to see all queries and results; and a MITM would be able to make alterations to the same. As stated in the manual:

    By default, MySQL uses unencrypted connections between the client and the server. This means that someone with access to the network could watch all your traffic and look at the data being sent or received. They could even change the data while it is in transit between client and server.

    Whilst you may not like the answer, SSL is the tool designed to defeat both data eavesdropping (how else can the communications be encrypted?) and MITM attacks (how else can either party verify that its peer is who it thinks it is?). Indeed, if the mysql client-server protocol alone defeated these threats then there would be no reason to use mysql over SSL (and thus it would be unlikely to be a supported configuration).

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

Sidebar

Related Questions

I have a front-end Access 2007 database connecting to MySql tables using MySQL ODBC
How to access the another system mysql database through java program?Am using the following
Using C, I am trying to create an Access 2007 database file using ODBC
I've been trying to connect Excel to online mysql database. Im using 5.1 DSN
Is it possible to connect to a remote instance of mysql server from a
I tried to connect my java program to Access DB using jdbc-odbc bridge when
Warning for my php file.. Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using
I need to restrict user access to filebrowser using permissions. For example, only users
i want to authenticate users using firstname and lastname This is the code i
Hi im using PDO to update some fields of a MySQL database. I've written

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.