Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to share my printer (connected to my computer with USB) with my colleague though our network. I am very concerned with security issues and I don't want to do anything that could (potentially) leave a door open to hackers.

What is the safest way to share a printer on the network with CUPS?

Thank you for your help!

share|improve this question

Are you concerned with hackers on your network like at a university or from the internet?

If your network is secure, WPA2 for wifi and not way to plug into your router for wired, you are totally safe. Just share it.

from an unseure network, (you have more to worry about then 12 pages of H printing but...)

sudo nano /etc/cups/cupsd.conf

look for

# Restrict access to the server...
<Location />
    Order allow,deny
    Allow localhost
    Allow 192.168.0.X

X is the ip you want to have permission.

share|improve this answer
and how to limit number of pages? – becko Jan 28 '14 at 21:50
@becko: Take a look at Bifrost. – Ryan Frame Sep 19 '14 at 12:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.