Limit sharing of printer to certain IPs

Lars Behrens lars.behrens at pi.uka.de
Wed Jan 9 01:29:51 PST 2013


Hi there we have a cups server for several network printers 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
192.13.0.4
</Location>




More information about the cups mailing list