Author Topic: auth_db.txt file format (flat file authentication)  (Read 8708 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
auth_db.txt file format (flat file authentication)
« on: June 30, 2002, 06:18:56 »
This is the file used to store authentication information (username/password pairs), when using "flatfile" authentication. (If authentication_type=1)

The file format is very simple:

Code: [Select]
username1|password1
username2|password2
username3|password3
...

For example:

Code: [Select]
bobbitt|giraffe
user2|photos
...

The location is defined by the auth_db config item, so make sure you put the file where album.pl expects to see it. For security reasons, this file should be above the web root, so people can't download you user list.
« Last Edit: October 08, 2003, 16:03:55 by Mike Bobbitt »