Hiding printers in web interface

John A. Sullivan III jsullivan at opensourcedevel.com
Thu Apr 8 10:39:26 PDT 2010


> On Apr 7, 2010, at 3:33 AM, John A. Sullivan III wrote:
> > Hello, all.  I'm feeling really stupid but after many hours, I can't =
> seem to crack this simple problem.  We are planning to host a =
> multi-tenant environment and want users to see only their printers and =
> only their print jobs.
> >=20
> > We did create our printers with a lpadmin -u allow:<userid>.  This =
> works perfectly fine.  Users only see their printers . . . until they go =
> to the print server web interface and click on printers or jobs.  They =
> see all the printers and all the jobs.  They can't print to them but =
> they can see them.  How do we restrict them to see only their printers =
> and their print jobs in this interface?
>
>
> You have to use authentication since otherwise there is no way for the =
> web interface to pass the correct username through to do filtering.
>
> We don't (and realistically can't) do filtering by IP since the CGI =
> programs don't have access to the printer policy/ACL information and are =
> the ones doing the "get printers" request on behalf of the web client.
> <Snip>
OK, I understand.  So if the problem is specifically with the CGI in the web interface, is it possible to disable the web interface or have it display nothing without restricting the printers.  It seems if we restrict the web interface, we also restrict the printers even though they do have access to the
policy/ACL information.  We could do quite well without the web interface other than for admins.  Thanks - John




More information about the cups mailing list