php authentication

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

    php authentication

    Hello,
    I'm trying to get php authentication going both on a Linux rh9 box and
    two *bsd systems. In none of these cases is it working as passwords are
    shadowed and i don't want to make the shadowed password files readable. Does
    anyone have this going preferably without using an external sql database?
    Thanks.
    Dave.


  • B. Johannessen

    #2
    Re: php authentication

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    dave wrote:[color=blue]
    > I'm trying to get php authentication going both on a Linux rh9 box and
    > two *bsd systems. In none of these cases is it working as passwords are
    > shadowed and i don't want to make the shadowed password files[/color]
    readable. Does[color=blue]
    > anyone have this going preferably without using an external sql database?[/color]




    Bob

    - --
    | B. Johannessen <bob@db.org> +47 97 15 20 09 - http://db.org/
    | Mail & Spam - News, Drafts & Standards - http://db.org/blog/
    | On The Origin Of Spam; Spam Statistics - http://db.org/spam/
    - --
    -----BEGIN PGP SIGNATURE-----

    iD8DBQFANacaooi sUyMOFlgRAivvAK CqVQHdLJs6ElKHu xNwvBmyshPP8ACd EluU
    0LzTZMfdhGCKSnT 1PLxNcRc=
    =fXyj
    -----END PGP SIGNATURE-----

    Comment

    • dave

      #3
      Re: php authentication

      Hello,
      Thanks for the reply. I looked at mod_pam, but it appeared as if it only
      worked with apache .htaccess, i want to use php to control access.
      Thanks.
      Dave.


      Comment

      • B. Johannessen

        #4
        Re: php authentication

        -----BEGIN PGP SIGNED MESSAGE-----
        Hash: SHA1

        dave wrote:[color=blue]
        > Thanks for the reply. I looked at mod_pam, but it appeared as if[/color]
        it only[color=blue]
        > worked with apache .htaccess, i want to use php to control access.[/color]

        Use mod_pam for /authentication/ and PHP for /authorisation/.

        I would think $_SERVER['PHP_AUTH_USER'] is available even if
        you authenticated using mod_pam.


        Bob

        - --
        | B. Johannessen <bob@db.org> +47 97 15 20 09 - http://db.org/
        | Mail & Spam - News, Drafts & Standards - http://db.org/blog/
        | On The Origin Of Spam; Spam Statistics - http://db.org/spam/
        - --
        -----BEGIN PGP SIGNATURE-----

        iD8DBQFANjoKooi sUyMOFlgRAjZwAJ 9VxeABRSx7orAAF QXFLaBtq7dfhQCe JX+B
        FUreZfORQxXge5z rsZ2vHtc=
        =DfZL
        -----END PGP SIGNATURE-----

        Comment

        Working...