]>
Commit | Line | Data |
---|---|---|
0ff1980a | 1 | /* |
2 | * text_backend.h | |
3 | * | |
4 | * AUTHOR: Robert Collins. | |
5 | * | |
6 | * Example digest authentication backend for Squid, | |
7 | * | |
8 | * - comment lines are possible and should start with a '#'; | |
9 | * - empty or blank lines are possible; | |
10 | * - file format is username:password | |
11 | * | |
12 | * This implementation could be improved by using such a triple for | |
13 | * the file format. However storing such a triple does little to | |
14 | * improve security: If compromised the username:realm:HA1 combination | |
15 | * is "plaintext equivalent" - for the purposes of digest authentication | |
16 | * they allow the user access. Password syncronisation is not tackled | |
17 | * by digest - just preventing on the wire compromise. | |
18 | * | |
19 | * Copyright (c) 2003 Robert Collins <robertc@squid-cache.org> | |
20 | */ | |
21 | ||
22 | #include "digest_common.h" | |
23 | ||
24 | extern void TextArguments (int argc, char **argv); | |
25 | #define ProcessArguments(A, B) TextArguments(A,B) | |
26 | extern void TextHHA1(RequestData *requestData); | |
27 | #define GetHHA1(A) TextHHA1(A) |