[cups.general] Hiding printers in web interface

Michael Sweet msweet at apple.com
Wed Apr 7 07:44:56 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.
> 
> 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.

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list