tailieunhanh - Common UNIX Printing System Sweet phần 3

phiên bản đầu tiên của CUPS cho phép các kết nối từ tất cả các host theo mặc định. Trừ khi bạn sẽ được cung cấp một dịch vụ in trên toàn mạng Internet, không cho phép kết nối từ tất cả các host. Mặc dù bổ sung thêm một "Cho phép từ tất cả các dòng" dường như là cách dễ nhất để cấu hình máy chủ của bạn, | previous page page_94 next page Page 94 Deny from all Allow from Location Assuming that your local network has an address of and a netmask of the following change will enable remote printing from clients Location Order deny allow Deny from all Allow from Allow from Location NOTE Early versions of CUPS allowed connections from all hosts by default. Unless you will be providing an Internet-wide printing service do not allow connections from all hosts. Although adding an Allow from all line would seem to be the easiest way to configure your server it will needlessly open your print server to unwanted print jobs and other denial-of-service attacks from outside systems. Next you need to enable broadcasting from your server by specifying the network broadcast address for your local network. Add the following directive to set the broadcast address to BrowseAddress After saving the changes to restart the server. All of your CUPS clients will now see the printers on the server and be able to print to them. NOTE CUPS provides printer-browsing support to clients using UDP broadcasting. The BrowseAddress directive is so-named to allow for other types of browsing in the future such as multicasting SLP and LDAP. Easy Web Browsing __ Normally CUPS listens for HTTP requests on the IPP port port 631. Users access the CUPS server with the following URL previous page page_94 next page previous page page_95 next page Page 95 http server 631 To make it easier for clients to access the CUPS server add a second port directive to the file to make the CUPS server listen on the normal HTTP port 80 Port 631 Port 80 Now your users will also be able to access the CUPS server with the following simpler URL http server Enhanced Security The default configuration of CUPS runs the CUPS server as the root user but runs all external programs as an unprivileged user. .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.