Block an application on Mac Lion

Hi guys

I need to find out how to block an application to go to the net and download updates. It's a Mac OS X Lion. What's the best way to accomplish that? There's no firewall or Antivirus program installed on it.
Thanks
kirretAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eoin OSullivanConsultantCommented:
I recommend a small program called Little Snitch.  It allows you to control and allow or block any application or service from connecting to the Internet on any port.  It is an essential program for any OSX user concerned about secure access and control when online.
http://www.obdev.at/products/littlesnitch/index.html.

If you want to simply block a certain web address then you can add a line in the hosts file located in the /etc root folder.  Simply add a line like before the end of the file
127.0.0.1    www.blockthiswebsite.com

Open in new window

You'll need a suitable text editor like TextWrangler (http://www.barebones.com/products/textwrangler/) or Terminal text editor like vi or pico.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
strungCommented:
There is also the built in Mac firewall:

Apple Menu > System Preferences > Security and Privacy > Firewall

but I agree with Eoin that Little Snitch is likely a better option.
0
kirretAuthor Commented:
Yea, went for Little Snitch. Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple OS

From novice to tech pro — start learning today.