Limit sharing of printer to certain IPs
Lars Behrens
lars.behrens at pi.uka.de
Wed Jan 9 01:35:21 PST 2013
Hi there,
on Debian Wheezy I want to set up a cups server for several network printers shared by browsing on several floors of our building.
How can I achieve that specific printers are only visible on certain clients, so that nobody on the 1st floor can by mistake print out something on the 4th floor.
Example: printer_a should only be visible by IPs 192.13.0.1 192.13.0.4 ...
printer_b should only be visible by IPs 192.13.0.17 192.13.0.56 ...
(The IPs are not grouped in subnets so I will have to specifiy each IP individually)
I know I can limit access by
<Location /printers/printer_a>
Order deny,allow
Deny from all
Allow from 192.13.0.1
Allow from 192.13.0.4
</Location>
But that doesn't hide the printers and I know that I will get calls "Printer B doesn't work here!" :-) So I am looking for a way to completely hide them, and I don't want to work on each single client setting up individual printers there.
Haven't found an elegant solution up to now.
More information about the cups
mailing list