Re: Jailing Firefox
- From: Sidney Lambe <sidneylambe@xxxxxxxxxxxxxx>
- Date: 27 Jul 2009 01:51:55 +0200
Stefan Patric <not@xxxxxxxxxxxxxxx> wrote:
On Sun, 26 Jul 2009 03:01:18 +0200, Sidney Lambe wrote:
Stefan Patric <not@xxxxxxxxxxxxxxx> wrote:
On Sat, 25 Jul 2009 18:19:39 +0200, Sidney Lambe wrote:
Ever since I encountered a website that crashed my computer
with malicious javascripts I haven't trusted firefox (or any
browser like it) and only use it when absolutely necessary,
on sites that are trusted.
I was thinking that it might be a good idea to put firefox
in jail and run it from there.
1. Create a ramdisk
[snip]
That's a lot of work. Wouldn't it be easier just to
"turn-off" javascript and Java in Firefox?
There's more to it than that. Firefox is a big and complex
program I simply don't trust.
And it's buggy, too, but not as bad as it used to be. However,
it still crashes on a regular basis. But it's no better or
worse than any of the other graphical browsers out there.
Dillo is a LOT better.
So, I keep two or three others on my system just in case
Firefox has problems. And have a Windows in a VM for those
sites that won't even work unless you have Windows and Internet
Explorer.
<shudder>
I don't allow M$ software on my boxes. Or anywhere near them.
Of course, that means about 90% of the web sites out there
won't work properly.
Hardly. I rarely have trouble with websites using a simple
textmode browser with no javascript.
FWIW, a few years ago, I came across a commercial travel site
that, except for a few lines of HTML at the beginning of the
Home page, was all javascript based. 100% dynamically laid
out. If you had javascript turned off or your browser didn't
support it, all you got was a blank, white page even if you
used a text based browser.
I encounter those now and again. And move on. Some other site
will have the information I want.
A few weeks later, they had changed
the code to so you could choose whether you wanted a standard
HTML or javascript site.
But I don't hang out on commercial sites as a rule.
Since a lot of my business is dealing with businesses, I'm on
commercial sites a lot. And then there's my banks, cell phone
company, even the public library, etc.
Doing business on-line is asking for trouble.
I don't do it.
I find stuff to buy on the Web but I don't buy it through
the web. I use the phone and snail mail.
My ISP gets a money order in the mail and if I have to
talk with them, which is hardly ever, I use the phone.
I don't use their website at all.
If I am away from home and need to check my mail, I
log into my box and do if from there.
The world-wide-interactive-boob-tube is not my thing.
I don't frequent those "socializing" sites either.
Or.... Just run a minimal install on a virtual machine--it's
isolated from the real system. So, even if it gets hacked,
there's no place for the hacker to go. Nothing he can really
damage. It's just bits and bytes in virtual space. Your ram
disk system isn't really isolated.
That's what Bit Twister is suggesting too. But I disagree with
you. My home spun version of VM is quite isolated. Chroot is
very effective at that.
A virtual machine is even more isolated, and for all intents
and purposes looks like a "real" machine to the outside world.
You RAM system shows as a RAM system to the outside world,
doesn't it?
I don't think so.
And that makes it vulnerable.
That's why my webserver and ftpserver both use "chroot jails".
Most of the server admins I know are now running most
everything in VMs for security as well as cost effectiveness.
One of them told me that he'd never go back to the "old ways."
The VM is a good idea, though. I will study up on it.
But if it turns out to be a massive application that takes a
year of study to learn to use, I'll pass.
I'm using VirtualBox (http://www.virtualbox.com/). Very easy to
install and use. Good documentation and HOWTOs. It uses a GUI
interface, but can also be run from the commandline. I use it
mainly to test Linux distros, and run Windows when I need to.
You might also look at QEMU (http://www.qemu.com/). It's
commandline based and highly configurable. It was the first VM
I experimented with a few years ago. Be sure to run the QEMU
Acclerator (KQEMU) for greatly increased emulation speed. Apps
run about 97% native speed.
I suggest you look at QEMU first. You being a commandline guy
and all.
As far as learning and setting up: an hour or so of reading
with either is more than sufficient to get you up and running.
Very simple.
Stef
Thanks for the guidance. I'll make some notes and look into both
of those VM apps.
Sid
.
- References:
- Jailing Firefox
- From: Sidney Lambe
- Re: Jailing Firefox
- From: Stefan Patric
- Re: Jailing Firefox
- From: Sidney Lambe
- Re: Jailing Firefox
- From: Stefan Patric
- Jailing Firefox
- Prev by Date: Re: Jailing Firefox
- Next by Date: Re: Jailing Firefox
- Previous by thread: Re: Jailing Firefox
- Next by thread: Re: Jailing Firefox
- Index(es):
Relevant Pages
|