SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict tina88's Avatar
    Join Date
    Jan 2007
    Location
    UK
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how does cpanel store webmail passwords?

    Hiya, I am building a webmail client and am going to be using sessions to access the mailserver. When the user logs in I create sessions with the username and password. The password use md5 encryption. When I create an email account through cpanel what encryption does the password use. When I try to use the md5 password to access the email it doesn't work. Is there anyway else to do this? Thanks, Tina

  2. #2
    SitePoint Member daxz's Avatar
    Join Date
    Mar 2007
    Location
    UK
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    post the code 2 check it out?

    in ur php(whatever page verfiy login details), is the password being converted back 2 md5 to check the md5 password in the db?
    Last edited by daxz; Mar 19, 2007 at 13:33. Reason: to vague
    Dark Wing Chun Project
    www.darkwingchun.com

  3. #3
    SitePoint Addict tina88's Avatar
    Join Date
    Jan 2007
    Location
    UK
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanx daxz, the login is not a problem. I store the md5 password in the users database and when I log in I convert the password to md5 to compare.

    I was just wondering if there was a way that I could access the email accounts using the password? I don't know how cpanel encrypts passwords for email accounts or even if it does?

    I guess I could grab the login password and store it in a session before md5 and then encrypt to check against the database. Is it safe to store an unencryted password in a session though?

    Tina


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •