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. [SOLVED]Database connection
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Database connection

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 2.7k 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.
  • F Offline
    F Offline
    fairycorsair
    wrote on last edited by
    #1

    Hello guys! I've started developing my client application to Oracle database and found one problem. I'm going to use QOCI.
    The problem is that I'm not sure about the way my password is sent to the server. Is it encrypted by default or is it sent just as a plain text?? If it is so, what should I do to organize a safe way of sending the password?
    Thanks a lot!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on last edited by
      #2

      Documentation says bq. "This function stores the password in plain text within Qt. Use the open() call that takes a password as parameter to avoid this behavior."


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fairycorsair
        wrote on last edited by
        #3

        I've read this. But it doesnt' describe the behaviour of open(). Thanks.
        The only idea to stay on the safe side is to provide ssl-connection, but it's better to avoid such a decision.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fairycorsair
          wrote on last edited by
          #4

          I see. But how does the driver send the password to Oracle server??? That's the most important moment. Is there any official information about this?
          Thanks

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            [quote author="fairycorsair" date="1347535448"]I see. But how does the driver send the password to Oracle server??? That's the most important moment. Is there any official information about this?
            Thanks[/quote]

            The Qt driver only forms a thin layer on top of the oracle driver. So, the Qt driver passes it to the oracle driver API, but what happens from there is a complete black box. Qt does not communicate directly with the oracle server, and so it has no influence on how that communication works or is encoded.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fairycorsair
              wrote on last edited by
              #6

              Well, thanks a lot. I suppose, this topic can be closed.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on last edited by
                #7

                [quote author="fairycorsair" date="1347540069"]Well, thanks a lot. I suppose, this topic can be closed.[/quote]

                Topics are not closed, unless they get out of hand in some way. If you want to mark the topic as [Solved], you can do so yourself by editing your first post in the topic.

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  fairycorsair
                  wrote on last edited by
                  #8

                  Thank you. It's better to get some details in Oracle forum)

                  1 Reply Last reply
                  0

                  • Login

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