Menu

#18 Basic Auth support

open
nobody
None
5
2004-04-15
2004-04-15
Don Mahurin
No

Basic Auth support based on uclinux boa changes.

Some differences:

- crypt is used instead of the internal md5
implementation (though I left it ifdefd out).

- the auth files are htpasswd compatible

- The arg order is like apache AuthFile

- auth file can be prefixed with an auth type
(Currently None or Basic).

- 'Basic:' means use basic athentication with system
passwords.

- A parent directory auth applies to children too,
unless defined more specifically.

Example

Auth / /auth/default.auth
Auth /images None:
Auth /pub None:
Auth /pages Basic:/auth/pages.auth
Auth /pages/private Basic:/auth/private.auth

Discussion

  • Don Mahurin

    Don Mahurin - 2004-04-15

    boa-0.94.14rc19 auth patch

     
  • Don Mahurin

    Don Mahurin - 2004-04-15

    boa-0.94.14rc17 auth patch file

     

Log in to post a comment.