Plain text passwords (5 posts)

  1. bijab
    Posted 2 years ago #

    not for purpose of hacking but for integration to any other forum,third party software I want usernames stored in plain text format
    is that possible?

  2. michael.mariart
    Posted 2 years ago #

    No, it's not possible. The entire login/authentication system is based around the hashed passwords that are stored in the DB.

    The main way that you see integration with thrid-party systems work is a function that's set up that can access the WordPress system and use that to check the authentication through the standard functionality. I have seen a few plugins around that can do that depending on just whcih system you want to integrate with.

  3. bijab
    Posted 2 years ago #

    anyway can we bypass encryption?
    can u point 2 hook which stored them in db?

  4. michael.mariart
    Posted 2 years ago #

    As I said before, no. The passwords are stores as their final hashed value. This is a one-way action that's performed when the users are registered, so you cannot decrypt the password.

    As I said before (again...) you need to use WordPress's authentication functions to check the authentication. You do not need the pain-text password. If you don't know what they are (I don't because I haven't had to do this yet) you can either search the codex for hints, or you can download a plugin that has that sort of integration built in already and do some reverse-engineering on its code.

    You can also find a little bit more info at http://wordpress.org/support/topic/authenticate-wordpress-login-from-external-php-script?replies=6 where a very similar question was asked.

    As a final security note, you should never store passwords in plain text anywhere. Even if you know them. No exceptions.

  5. bijab
    Posted 2 years ago #

    I solved the issue

Topic Closed

This topic has been closed to new replies.

About this Topic