Mozilla developers are working on a new Firefox feature that will block the automated display of plug-in-based content like Flash videos, Java applets or PDF files, and will protect users from attacks that exploit vulnerabilities in browser plug-ins to install malware on their computers.
Known as "click to play," this feature has been present in the popular NoScript Firefox security extension for many years, as well as in other browsers like Google Chrome and Opera.
When click-to-play is enabled, the browser displays static images instead of the active content that requires plug-ins to be displayed. Users need to click on those images in order to authorize the loading of each plug-in-based element.
"A couple days ago I landed an initial implementation of 'click-to-play plugins' in desktop Firefox," Mozilla software engineer Jared Wein said in a blog post on Wednesday.
Wein's implementation is available for testing in the latest Firefox nightly build, but there's still work to be done. "I'm currently working on implementing the ability for plugin activation settings to be remembered on a per-site basis," he said.
Wein hopes to finish developing the feature before the deadline for code submissions in Firefox 14, but there's no guarantee that it will be included in that version.
Security experts agree that technically speaking, this feature is capable of preventing plug-in-based attacks and should be implemented in every browser. However, they point out that its effectiveness will ultimately depend on user behavior.
"Let's not forget that there has been a similar implementation in Internet Explorer (the Internet Explorer Information Bar) that did not really make any difference, since users would always allow blocked content to be executed," Bogdan Botezatu, a senior e-threat analyst at antivirus vendor BitDefender, said. "Similarly, users might allow click-to-play content as well, based on the mere assumption that they really have to have everything loaded on the page."
Botezatu believes that keeping click-to-play as an opt-in feature will significantly reduce its overall efficiency, because most non-technical users will leave it disabled. However, having it enabled by default in the browser would not be a good idea either, because it could result in the same users missing content they actually need, he said.
An alternative would be to have the browser automatically enable the feature when it detects that the required plug-in is outdated, and to display the content normally if the plug-in is up-to-date, Botezatu said. Firefox already checks for vulnerable plug-ins when it gets updated, so the mechanism to do this is already built into the browser.
Costin Raiu, director of the global research and analysis team at antivirus firm Kaspersky Lab, is also concerned about the impact of user behavior on the effectiveness of the click-to-play feature.
Sign up for Computerworld eNewsletters.