1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS and LPRng |
---|
4 | |
---|
5 | (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2 of the License, or |
---|
9 | (at your option) any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software |
---|
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | ==================================================================== |
---|
21 | |
---|
22 | This directory contains CGI scripts which you may find useful to |
---|
23 | put on a web server along with PyKota command line tools. |
---|
24 | |
---|
25 | Be sure to restrict access to these CGI scripts as necessary. |
---|
26 | |
---|
27 | For now, pykotme.cgi doesn't need any restriction. |
---|
28 | |
---|
29 | If you protect access to printquota.cgi or dumpykota.cgi with |
---|
30 | username+password authentication, the REMOTE_USER CGI environment variable |
---|
31 | is honored, so an user can only see his own datas, but not |
---|
32 | other users' datas. However, the special REMOTE_USER value 'root' |
---|
33 | is allowed an unrestricted access. |
---|
34 | |
---|
35 | If no username+password authentication takes place, then access |
---|
36 | is completely unrestricted. |
---|
37 | |
---|
38 | You must ensure that the user your web server runs as can read |
---|
39 | PyKota's pykota.conf configuration file. No read access to |
---|
40 | PyKota's pykotadmin.conf configuration file is necessary though. |
---|
41 | |
---|
42 | The web server doesn't need to be a print server nor a PyKota |
---|
43 | Storage Backend server, but it must contain a correctly configured |
---|
44 | PyKota installation. |
---|
45 | |
---|
46 | ==================================================================== |
---|