Login Module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • anush

    Login Module

    I would like to create a login module using php without a mysql
    backend. I'd just want to save the data in an encrypted file. Any
    pointers would be helpful.
  • Sjoerd

    #2
    Re: Login Module

    On Thu, 11 Sep 2008 03:21:42 -0700, anush wrote:
    I would like to create a login module using php without a mysql backend.
    I'd just want to save the data in an encrypted file. Any pointers would
    be helpful.
    What have you tried so far?

    You don't give any hints as where you want to start and what you already
    know. Have you managed to install PHP succesfully? Do you know how to
    create a form? Do you know how to read and write files in PHP? Do you
    know anything about encryption?

    Comment

    • anush

      #3
      Re: Login Module

      On Sep 11, 4:18 pm, Sjoerd <sjoer...@gmail .comwrote:
      On Thu, 11 Sep 2008 03:21:42 -0700, anush wrote:
      I would like to create a login module using php without a mysql backend.
      I'd just want to save the data in an encrypted file. Any pointers would
      be helpful.
      >
      What have you tried so far?
      >
      You don't give any hints as where you want to start and what you already
      know. Have you managed to install PHP succesfully? Do you know how to
      create a form? Do you know how to read and write files in PHP? Do you
      know anything about encryption?
      Yep, I do.
      -
      A

      Comment

      • Sjoerd

        #4
        Re: Login Module

        On Thu, 11 Sep 2008 04:29:13 -0700, anush wrote:
        >What have you tried so far?
        >>
        >You don't give any hints as where you want to start and what you
        >already know. Have you managed to install PHP succesfully? Do you know
        >how to create a form? Do you know how to read and write files in PHP?
        >Do you know anything about encryption?
        >
        Yep, I do.
        I figure you are not really a talkative kind of guy.

        You could store usernames and sha1 checksums of the password to a file,
        one entry per line.

        Comment

        • Egbert Teeselink

          #5
          Re: Login Module

          On Sep 11, 3:10 pm, Sjoerd <sjoer...@gmail .comwrote:
          On Thu, 11 Sep 2008 04:29:13 -0700, anush wrote:
          What have you tried so far?
          >
          You don't give any hints as where you want to start and what you
          already know. Have you managed to install PHP succesfully? Do you know
          how to create a form? Do you know how to read and write files in PHP?
          Do you know anything about encryption?
          >
          Yep, I do.
          >
          I figure you are not really a talkative kind of guy.
          >
          You could store usernames and sha1 checksums of the password to a file,
          one entry per line.
          Or put those in a PHP array somehow and store the json_encode result
          of that array. That format is pretty fast to parse and store, and
          gives you a no-hassle access to the data. Make sure you store
          checksums of the passwords only.

          Egbert

          Comment

          Working...