How can I change MySQL password securely?

I want to be able to allow a user to change his/her own password with the usual "Type new password" type of data entry. But as I read the MySQL documentation, the password has to be sent over the network in clear form with SET PASSWORD('new_password') syntax - not the most secure over the network.
Without going through all the SSL palaver, is there any way of getting JDBC to encrypt the password, which I think it does for the initial login?
Thanks in advance,
Peter

Without going through all the SSL palaver, is there
any way of getting JDBC to encrypt the password,
which I think it does for the initial login?No. To JDBC, it's just another SQL statement.
Off the top of my head, your choices are:
1) SSL
2) roll your own "security" - if you're using new enough MySQL, write a stored procedure that accepts a username and an encrypted value, decrypts it and sets the users password. I have doubts about the possibility of writing a cryptographically secure decryptor in the MySQL procedure language though. I suspect the best that could be easily achieved is "it's better than plaintext". But even ROT13 "encryption" will deter a huge percentage of attackers.

Similar Messages

  • How can I change my original security questions? After changing my AppleID and password, I am not given an opportunity to change my security questions, which I cannot remember the answers to, so I cannot purchase any music.

    How can I change my original security questions? After changing my AppleID and password, I am not given an opportunity to change my security questions, which I cannot remember the answers to, so I cannot purchase any music.

    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service

  • HT5624 I would like to change ,my password. I signed in but I don't know what was my answer for the 2 security question. How can I change my password?

    would like to change ,my password. I signed in but I don't know what was my answer for the 2 security question. How can I change my password?

    Hello, dot mac & MobtleMe no longer exist, though it may be possible to still use a dot mac addy... or maybe not if expired.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
        •    Server name: imap.mail.me.com
        •    SSL Required: Yes
        •    Port: 993
        •    Username: [email protected] (use your @me.com address from your iCloud account)
        •    Password: Your iCloud password
    SMTP (outgoing mail server) information:
        •    Server name: smtp.mail.me.com
        •    SSL Required: Yes
        •    Port: 587
        •    SMTP Authentication Required: Yes
        •    Username: [email protected] (use your @me.com address from your iCloud account)
        •    Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • HT5787 I forget my apple ID security Questions ,how can I change ID password ?

    I Forget my apple ID security Questions, How can I change ID password ?

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

  • HT5312 hi i need to change my apple id password but ive forgotten my rescue question answers and my rescue email id details , how can i change my password now

    hi i need to change my apple id password but ive forgotten my rescue question answers and my rescue email id details , how can i change my password now

    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • How can I change the password in the iBook donated to our nonprofit.  No password was given with the iBook?  We need to put in printer and other software.  Help, we can use the laptop without changing the password.

      How can we change the password in the iBook donated to our nonprofit?  No password was given with the iBook and every time we try to install items, the password window pops up.  We need to put in printer and other software.  Help! We can use the laptop without changing the password.

    If you did not get an OS X install-restore DVD with the computer you may need
    to buy one from somewhere, and you may be lucky to get a retail OS X 10.5.x
    version. The original grey-label install set of software and OS X it shipped with
    likely would be an older system than Leopard 10.5. Last versions of G4 Mac, &
    G5, shipped with a Tiger 10.4 system; so did early Intel-based Mac. Grey discs
    which accompanied other computer build models generally do not interchange.
    The last OS X version a PowerPC architecture can use, if supported, is 10.5.8.
    A PPC processor at 867MHz & faster should be able to run OS X 10.5 Leopard.
    {With the correct disc installer, you can use it to change a password and other
    things including re-install, and perform disk utility functions, etc.}
    There is a chance you may be able to get a white-label Replacement 10.4 DVD
    or Replacement 10.5 DVD from AppleCare or the online Apple Store (800myapple)
    from a Mac OS X system specialist; these have been available yet hard to get
    as not all persons involved with them seem to know if they still exist until someone
    is asking. These aren't retail stock, are special discs for computers who could use
    a system later than original old discs; these are complete install discs not for one
    specific series of Mac. Generally they'd work in supported PowerPC G4/G5; but
    do not replace specialized original install DVD, such as an early Intel mac requires.
    You'd need to have a serial number of the computer, and a method of payment
    when seeking some replacement system media from Applecare or Apple sales
    and these discs are not available in a retail store. The original Retail discs are
    labeled differently and shipped in a retail box with a big X on the front. Other
    sources for retail 10.4 Tiger or 10.5 Leopard may be online via amazon sellers
    or computer resellers who handle repaired Macs. Avoid mystery grey label ones
    that were intended to be sold and kept with their original computer kits.
    Good luck!

  • How can I change the password for the USER in SAP.

    How can I change the password for the USER in SAP?
    also I want to change the Language and  date Format b/c it's displaying in German language..

    Hi,
    Assuming that User has already his/her user-id and password, and now he/ she wants to change it.
    select the client and provide Log-in credentials. Now, instead of 'ENTER' there is one Tab: 'New Password' (up, left hand). Click it.
    Now, system will ask for new password to change.
    If you are asking from Basis point of view, then T.code: SU01 - User Maintenance.
    Enter User's id and Click Change icon.
    It will lead to Page: Maintain User.
    Here, Select tab: Logon Data
    There is a Sub-Tab: Password.
    Here, key-in change password and SAVE.
    For Language and Date format, contact your Basis-Personnel.
    Best regards,
    Amit

  • My number 5 key is not working and my password has a number 5 in it. How can I change my password when I'm signed in on another account or as guest user? I need help :(

    My number 5 key is not working and my password has a number 5 in it. How can I change my password when I'm signed in on another account or as guest user? I need help

    - If the "other" account has administrative privileges then just try changing the PW for your account.
    - Forgot Mac Password? How to Reset Your Mac Password (with or without CD)
    Change the Admin Password with Mac OS X Single User Mode
    Reset mac mini admin password: Apple Support Communities
    - If the problem is due to a bad KB just get a new KB

  • How can I change the password on my sons computer without knowing it? he has forgotten the password and I can not update it or do anything without knowing it

    how can I change the password on my sons computer? he has forgotten it.

    Did you create a second administrator account on his machine? Or is there only one account on his machine?
    Alternatively.. Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.

  • How can i change a forgotten security question and answer in my apple id ?, how can i change a forgotten security question and answer in my apple id ?

    how can i change a forgotten security question and answer in my apple id ?, how can i change a forgotten security question and answer in my apple id ?

    SECURITY QUESTIONS
    Read this note for information on how to reset the security questions http://support.apple.com/kb/HT5312
    This user tip may also help you http://discussions.apple.com/docs/DOC-4551

  • Power mac g4 given to me. How can i change the password? No disc was provided

    I recently inherited a Power Mac G4 from my work. The computer came from an office that had left it behind and donated it. I do not have any password to it to log into it. How can i change the password? I didnt recieve and disc or anything with this.

    See this thread, last post: https://discussions.apple.com/thread/2318925?threadID=2318925&tstart=0

  • HT4759 How can I change the password on my stolen iPhone 5 which shares data with my ipad2

    How can I change the password on my stolen iphon5 which shares data with my ipad2

    If you had Find My iPhone activated on your iPhone, you can remotely wipe it, which you can do through iCloud on your computer.  If you did not have Find My iPhone active on your phone you're out of luck.
    You should immediately change all passwords for your Apple ID, email, any apps where you had a password, or any where you have credit cards tied to shopping.

  • How can I change the password for my accounts

    How can I change the password from my accounts

    Your post is quite vague...
    Juangherrera wrote:
    How can I change the password from my accounts
    Changing Apple ID Password >  http://support.apple.com/kb/ht5624
    Note:
    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • HT1212 How can I change my Password in my "Find My I phone" Application?

    How can I change my Password in my "Find My I phone" Application? Or maybe reset it?

    Your Apple ID password, or the device lock code?
    Here is where you change your apple id password. https://appleid.apple.com

  • Changed the password on my phone and now i'm locked out, how can i change my password without accessing my phone?

    changed the password on my 4s and now i'm locked out, how can i change my password without accessing my phone?

    just so you all don't think i can't read i tried restoring my phone but it is telling me that it can't restore the phone because it is locked.  i'm not entirely sure how i entered a password in twice incorrectly, but go figure.  does anyone have anyother ideas other than restoring it?

Maybe you are looking for