Disable remote cgi access

Helge Blischke h.blischke at srz.de
Wed Dec 12 04:57:56 PST 2007


kcj.cups.umich wrote:
> Hello,
> 
> I'm trying to set up CUPS to allow remote printing, but disable remote access to the cgi management pages.  Currently running CUPS 1.3.4.
> 
> I've attempted to restrict using the Location tag.
> 
> <Location /admin>
>   Order Allow,Deny
>   Allow From 127.0.0.1
> </Location>
> 
> This works for /admin, but when I apply it to /printers, remote ipp printing/queries break.  I presume this is because the client is trying to access a resource located in /printers.  Is there a way to restrict remote access to the cgi's while enabling access to remotely print/execute ipp queries?  I would like to continue to be able to use the print management web pages from the localhost.
> 
> 

Look into the Policies stuff to set up fine grained
access restrictions.

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list