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
Forum Updated to NodeBB v4.3 + New Features

Database passwords

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 296 Views 1 Watching
  • 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 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?

    JonBJ 1 Reply Last reply
    0
    • B Buller

      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?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on 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
      • Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on 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

        • Login

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