Slashdot Mirror


Firefox 3.6 Locks Out Rogue Add-ons

CWmike writes "Mozilla will add a new lockdown feature to Firefox 3.6 that will prevent developers from sneaking add-ons into the program, the company said. Dubbed 'component directory lockdown,' the feature will bar access to Firefox's 'components' directory, where most of the browser's own code is stored. Mozilla has billed the move as a way to boost the stability of its browser. 'We're doing this for stability and user control [reasons],' said Johnathan Nightingale, manager of the Firefox front-end development team. 'Dropping raw components in this way was never an officially supported way of doing things, which means it lacks things like a way to specify compatibility. When a new version of Firefox comes out that these components aren't compatible with, the result can be a real pain for our shared users ... Now that those components will be packaged like regular add-ons, they will specify the versions they are compatible with, and Firefox can disable any that it knows are likely to cause problems.'"

14 of 265 comments (clear)

  1. .NET Anyone? by Daengbo · · Score: 5, Insightful

    Last February, and again in May, Firefox users complained when they found that Microsoft had pushed the .Net Framework Assistant add-on and the Windows Presentation Foundation (WPF) plug-in to their browsers as part of the .NET Framework 3.5 Service Pack 1 (SP1) update, which was delivered via Windows Update.

    That's the first thing I thought of when I read the summary.

    1. Re:.NET Anyone? by NoYob · · Score: 4, Insightful

      The first thing I thought of was those Yahoo! toolbars that folks love to slip into every browser.

      --
      It's NOT me! It's the meds! I'm on 1000mg of Fukitol.
    2. Re:.NET Anyone? by Anonymous Coward · · Score: 3, Insightful

      I'm sick of getting my browser hijacked every time I install a program.

      Maybe you should stop installing malicious software, then.

      There's a perfectly good reason why these apps need to look in multiple locations: different users have different setups.

      It's all well and good to have "one location", until that one location on one person's machine is an administrator-only location that non-privileged users can't edit, meaning they have no ability to customize their use of the software. I don't give a crap what people install on their machines under their accounts because they're running with few privileges and can only mess up their own setup. I don't want to have to start manually tweaking permissions on some shared add-ons folder every time somebody wants a new tool added to their instances of Firefox.

      Just because you choose to keep installing viruses and junkware that messes up your machine doesn't mean the rest of us should have to suffer through endless security configuration headaches.

    3. Re:.NET Anyone? by trevdak · · Score: 5, Insightful

      Regardless, there should've been a prompt to ask if you wanted to install it, and there damn well should be a working uninstall button.

    4. Re:.NET Anyone? by mqduck · · Score: 5, Insightful

      the toolbar installation is clearly mentioned in the software EULA, so each time the toolbar is installed, the user agreed that he wanted it. As a developer for a Web optimizer plugin, this Firefox change will make it much harder for us to reach our users.

      I fail to see the downside for anybody but you, and you make it sound like you clearly deserve it.

      --
      Property is theft.
    5. Re:.NET Anyone? by Miamicanes · · Score: 4, Insightful

      > What do you mean? As far as I know, in all the instances where a toolbar is bundled with some other
      > software, the toolbar installation is clearly mentioned in the software EULA, so each time the toolbar
      > is installed, the user agreed that he wanted it. As a developer for a Web optimizer plugin, this Firefox
      > change will make it much harder for us to reach our users.

      Q. What's the difference between a 'trojan' and 'malware'?

      A. Malware has a EULA.

      I can't even *begin* to emphasize how badly it pisses me off when some app tries to sneak BHOs and plugins into their installer... almost always in ways that someone in a hurry to install the app that's actually *desired* will overlook. I flat-out refuse to ever use Yahoo and Google's toolbars, *precisely* because they have so many people trying to ram them down my throat and trick me into installing them.

    6. Re:.NET Anyone? by andi75 · · Score: 4, Insightful

      If it's "mentioned in the EULA" it might as well be "on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying 'Beware of the Leopard'". About the same amount of people will be able to read & understand it.

  2. User perspective by omfglearntoplay · · Score: 5, Insightful

    From a user perspective, this sounds like a good move. Stability problems in Firefox always seems to stem from add-ons or extensions. Lock that crap down, and make the devs code the right way.

    1. Re:User perspective by fluffy99 · · Score: 3, Insightful

      From a user perspective, this sounds like a good move. Stability problems in Firefox always seems to stem from add-ons or extensions. Lock that crap down, and make the devs code the right way.

      Correction - stability problems in Firefox have always been blamed on add-ons or extensions. Of course the developers always became deaf when people having issues with no plug-ins installed.

  3. Components specifying version compatibility ... by BitZtream · · Score: 3, Insightful

    Works great, till you have someone like myself, who just specifies that my components are compatible with Firefox 2.* to 10.* so I don't have to worry about a new version claiming my plugin isn't compatible even though it is, which has happened enough in the past that I just don't care anymore.

    Am I wrong? Yes. Is Mozilla wrong? Yes, you never trust the external code to tell you the truth, basic programming 101.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  4. Doesn't extend to all externally-installed add-ons by Todd+Knarr · · Score: 3, Insightful

    I notice this doesn't extend to plug-ins and extensions found via the various plugins directories and registry keys. If it were me, I'd extend this feature to include saving a list in a locked-down location of all known extensions/add-ons found via the plugin directories and via registry keys. Every time the browser started, if it found a plugin or extension being loaded via the registry or a plugin directory that wasn't on the list, it'd notify the user what the plugin was and ask whether they wanted it enabled or not. That way nothing can get added to the browser without the user knowing and approving of the change.

    Down in the advanced options I'd add a setting to give expert users the additional option of removing the plugin by either removing it's files from the plugins directory it was found in or removing it's registry keys depending on how it was found.

  5. The actual problem is... by JustNiz · · Score: 3, Insightful

    The acutal problem is that firefox blindly loads whatever is in that directory.
    Locking the directory is a hack of a solution that others, especially Microsoft will easily find a way around. The proper answer is that Firefox needs to compare components it finds by their signature (checksum and name combo or whatever) with a secure list of components it is authorised by the user to load, before it loads them.
    The other fix firefox needs is to deny installed extensions the ability to prevent the user from uninstalling them (like Microsoft's .NET framework firefox extension did).

  6. Re:That was the idea behind Firefox/Firebird/Phoen by Reapman · · Score: 4, Insightful

    Tired of reading these sorts of comments. Sure there's some "bloat", but what that bloat is varies by opinion. I've read where supporting CSS is "bloat". Graphics are "bloat". tabs are "bloat". RSS. etc.

    My understanding (and please tell me if I'm wrong) is the point of Firefox was to supply a WEB BROWSER. Back then when you downloaded it you also got an email program, news reader, wysiwyg website builder, etc. Firefox was JUST a browser. Still is.

    If you REALLY want where everything is an option go build it yourself. Have something where you choose which renderer you want (Moz's, Webkit, etc), whether or not to have tabs, allow plugins, command line version, etc. Hit next a few times and presto your very own browser.

  7. Re:Effects on Add-on Development by gbjbaanb · · Score: 3, Insightful

    but it isn't a .NET addon. Its a Firefox addon.

    So you should be perfectly able to install any .NET update from WU safe in the knowledge that it is not affecting your non-.NET applications, like Firefox.