# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"
#
# ::copy::
# ::maintainer::

LogLevel	::cups.loglevel::
MaxLogSize	::cups.maxlogsize::

Port		631
Listen		/var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing	On
BrowseAddress	@LOCAL
BrowseOrder	allow,deny
#BrowseAllow	all
-ku-temp-tag-for-inserting-browse-allow-ku-
BrowseRemoteProtocols cups
BrowseLocalProtocols CUPS dnssd

# Default authentication type, when authentication is required...
DefaultAuthType	Basic

# options
WebInterface Yes
PreserveJobHistory No

# Restrict access to the server...
<Location />
  Allow @LOCAL
-ku-temp-tag-for-inserting-admin-allow-ku-
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Allow @LOCAL
-ku-temp-tag-for-inserting-admin-allow-ku-
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  Allow @LOCAL
-ku-temp-tag-for-inserting-admin-allow-ku-
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...

<Policy default>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default CUPS-Add-Device CUPS-Delete-Device>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>

</Policy>
