]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Require authentication for CUPS-Get-Document.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 6 Dec 2022 14:04:01 +0000 (09:04 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 6 Dec 2022 14:04:01 +0000 (09:04 -0500)
conf/cupsd.conf.in

index b258849078bf1f4db22932a26bd58ae76af8a1b6..a07536f3e4d6799bc3dfcb9e4fbd33c9fec889ec 100644 (file)
@@ -68,7 +68,13 @@ IdleExitTimeout @EXIT_TIMEOUT@
     Order deny,allow
   </Limit>
 
-  <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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
+  <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 Cancel-My-Jobs Close-Job CUPS-Move-Job>
+    Require user @OWNER @SYSTEM
+    Order deny,allow
+  </Limit>
+
+  <Limit CUPS-Get-Document>
+    AuthType Default
     Require user @OWNER @SYSTEM
     Order deny,allow
   </Limit>