Google Chrome 4 Bolsters Browser Security with New Features

Escrito por
Brian Prince
Brian Prince
Published: Jan 27, 2010
Updated: Feb 2, 2021
2 minute read
eWeek mantém conteúdo e recomendações de produtos editorialmente independentes. Podemos ganhar dinheiro quando você clica em links de nossos parceiros. Saiba mais

Google has beefed up the latest version of its Chrome browser with new security protections designed to help developers build secure Websites.

In Chrome 4, which was released Jan. 25, Google added three new security features: strict transport security, cross-origin communication with postMessage and reflective cross-site scripting (XSS) protection.

Strict transport security requires a browser to access a Website through a secure connection, such as HTTPS.

“That means the browser will always use HTTPS to connect to the site and will treat all HTTPS errors as hard stops (instead of prompting the user to ‘click through’ certificate errors),” blogged Adam Barth, a software engineer at Google. “This feature strengthens the browser’s defenses against attackers who control the network, such as malicious folks disrupting the wireless network at a coffee shop.”

Google is not the only one implementing strict transport security. Firefox add-on NoScript has implemented it as well, and have some Websites such as PayPal.

Google also added the ability to use postMessage to communicate with Google Gadgets.

“The postMessage API is a new HTML5 feature that lets web developers establish a communication channel between frames in different origins,” Barth explained. “Previously, when you wanted to add a gadget to your web page, you had two options: (1) include the gadget via a script tag, or (2) embed the gadget using an iframe tag. … postMessage changes the game. By using postMessage to communicate with the gadget, you get the security advantages of an iframe with all the interactivity of a script tag.”

In addition, he said, developers can use postMessage to create more secure versions of existing gadgets.

The final new ingredient to Google Chrome 4 is an experimental feature to address reflective cross-site scripting. The new XSS filter checks whether a script about to run on a Web page is also present in the request that fetched that Web page-an indication that the Web server may have been tricked into reflecting the script.

Advertisement

Google integrated the filter into WebKit, Chrome’s rendering engine, so that the filter can catch scripts right before they are executed and so it can be used by every WebKit-based browser.

“The XSS filter is similar to those found in Internet Explorer 8 and NoScript,” Barth said. “We are aware of a few ways to bypass the filter, but, on balance, we think that the filter is providing enough benefit to enable it by default in this release.”

Barth also touted Chrome’s clickjacking protections as well as cross-site request forgery protection via Origin Header.

The popularity of Chrome is on the upswing. According to market research company Net Applications, worldwide use of Chrome grew to 4.63 percent in December, inching past Apple’s Safari browser but still far behind Microsoft Internet Explorer and Mozilla Firefox.

Brian Prince

Brian Prince

Content Writer
eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Propriedade da TechnologyAdvice. © 2026 TechnologyAdvice. Todos os direitos reservados

Divulgação de anunciantes: alguns dos produtos que aparecem neste site são de empresas das quais a TechnologyAdvice recebe remuneração. Essa remuneração pode influenciar como e onde os produtos aparecem neste site, incluindo, por exemplo, a ordem em que aparecem. A TechnologyAdvice não inclui todas as empresas nem todos os tipos de produtos disponíveis no mercado.