Results 1 to 2 of 2

Thread: Brigde between local mysql and client in internet

  1. #1
    Join Date
    Oct 2011
    Posts
    51
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Brigde between local mysql and client in internet

    Hi!
    I'm developing an application that stores data about some items in database and I at the beginning it was designed only for me so I newer think about safety, but now I know that I need at least couple of users and a "user management system". The problem is the same as http://stackoverflow.com/questions/1...in-application
    What I want to do is a TCP sniffer that checks if user and password send by client (at the beginning through TCP) are the same as in DB and then, sniffer will tell the client that it can connect to DB (using some user and password) and after that... Exactly what? How it should look like?
    I think that the best way is to provide a whole API between client and server, but I have almost whole application, I don't want to redesign it.
    Mayby there is another solution for this issue?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Brigde between local mysql and client in internet

    You could use client SSL certificates and only allow known clients to establish an SSL encrypted connection.

    Cheers,
    _

Similar Threads

  1. Replies: 2
    Last Post: 30th October 2012, 15:22
  2. Client-Client communication
    By zgulser in forum Newbie
    Replies: 0
    Last Post: 2nd December 2010, 09:07
  3. How to use a image from internet
    By kellen851105 in forum Qt Programming
    Replies: 1
    Last Post: 4th March 2010, 07:16
  4. Replies: 1
    Last Post: 27th March 2009, 14:20
  5. MYSQL 5 Table qt model as small Mysql admin
    By patrik08 in forum Qt-based Software
    Replies: 0
    Last Post: 1st May 2007, 10:43

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.