Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Database passwords

Database passwords

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 268 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Buller
    wrote on 16 May 2020, 05:17 last edited by aha_1980
    #1

    When an application connects to a MySQL database a password is required. Moreover, the password should be rather long, in order to provide strong security. In theory that is all good, but users do not like remembering long passwords. Is there a Qt way of dealing with this issue?

    J 1 Reply Last reply 16 May 2020, 06:46
    0
    • B Buller
      16 May 2020, 05:17

      When an application connects to a MySQL database a password is required. Moreover, the password should be rather long, in order to provide strong security. In theory that is all good, but users do not like remembering long passwords. Is there a Qt way of dealing with this issue?

      J Offline
      J Offline
      JonB
      wrote on 16 May 2020, 06:46 last edited by JonB
      #2

      @Buller said in Database passwords:

      Is there a Qt way of dealing with this issue?

      No, not particularly. Depending on your application, you might save the password somewhere and re-use it so that the user does not have to enter it each time, or there is the ~/.my.cnf file, and/or you might make it so you have one username + password for the application to log onto the database under instead of the user logging onto it. But that is not special to Qt.

      1 Reply Last reply
      1
      • K Offline
        K Offline
        Kent-Dorfman
        wrote on 17 May 2020, 04:18 last edited by
        #3

        don't let them connect directly to the database, but use a REST interface through a web service.

        1 Reply Last reply
        1

        1/3

        16 May 2020, 05:17

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved