Showing posts with label Flash. Show all posts
Showing posts with label Flash. Show all posts

Monday, August 23, 2010

Security on the Client Side

Common--and good--advice is to not trust the client. If an organization has no control over the client, as is the case in web-based client-server applications, the client is not trustworthy. The Milwaukee Journal-Sentinel's Packer Insider is a very good low-stakes example of a site that has gotten this wrong. The Packer Insider is intended to be a subscription-only service, but I was reading it for a while, perhaps a long while, before I realized I was reading for-pay content.

If I visit http://www.jsonline.com/sports/packers/ in Firefox I get full access. If I visit it with Opera or Chrome, and click one of the Insider links, I get a login screen. What's the difference?

The difference is NoScript, an indispensable Firefox tool. NoScript is not intended to circumvent security, but rather to enhance client-side security. The idea is that if I let any given web site execute any script it wants on my machine, my personal data and the integrity of my machine are at risk. NoScript also helps me limit more obnoxious advertising by selectively shutting off Flash, JavaScript, Java, etc. NoScript uses a default-deny model, meaning that sites are not allowed to run client-side scripts unless I assent. NoScript is not for everyone because it does cause problems with some sites and it does require some effort on the part of the user, but it does provide a much safer browsing environment.

So, if I disable scripting, I get a much cleaner, more pleasurable view of the Journal Sentinel's Packer pages. As a side effect, I also get access to the Packer Insider materials. This is due entirely to poor security architecture at the Journal Sentinel's site, and, IMHO, strong evidence that the design was not done by an experienced professional. OTOH, there may have been other constraints making this desirable, and they may not actually care. If I were to lose access to these pages, I wouldn't really care because the Green Bay Press Gazette has comparable content that's openly-available.

As an aside, there are those that think it is bad to disable advertisements that support web sites. I have sympathy for this view, but I don't want their scripts running on my machine, eating cycles, providing animations which make it difficult to concentrate on the actual content, and, in extreme cases, making noise or damaging my system. I will aggressively block Flash, animated GIFs, etc., that damage the user experience.

This shows a general advantage of server-side over client-side scripting. Providers have a better idea of what their pages look like on the client side if they use server-side scripting--which is controlled by the provider--rather than client-side scripting, which is controlled by the end user, the browser, malware, etc.

Summary: security must be on the server side.

Sunday, July 11, 2010

Web Page Raspberry--Pass the Bromo-Seltzer

The Bromo-Seltzer Tower has been an icon in downtown Baltimore for almost a century. And they have their own web page, http://www.bromoseltzertower.com/ . This is all good. However, it is entirely impossible to navigate the site without flash. There is nothing I've seen at the site that requires flash, so this seems like a case of a web developer who likes flash and uses it whether appropriate or not. The site crashed my browser twice this morning.

Of course, flash is one of the larger technological threats to web security, and works much more slowly than static content or server-side scripts. And there doesn't appear to be any substantial content at the site that isn't static.

There are better alternatives, though:
  1. http://en.wikipedia.org/wiki/Emerson_Bromo-Seltzer_Tower
  2. http://www.nps.gov/history/nr/travel/baltimore/b17.htm
  3. http://www.baltimoresun.com/topic/economy-business-finance/bromo-seltzer-tower-PLTRA000097.topic
The site itself is designed by folks at http://www.missionmedia.net/ , which have a web site that's all flash and no usability themselves.

Soundtrack: The Church, Sometime Anywhere, Disk 2

Saturday, June 5, 2010

Different Browsers for Different Purposes, II

I previously commented on how I've started using different browsers for different purposes. I just visited the Weather Underground (wunderground.com) using Chrome, and it wasn't pretty. Right next to the weather map was this obnoxious flash animation. I quickly closed the frame and reopened it in Firefox, where NoScript screens out much of the obnoxious, much of the dangerous, and much of the insipid.

I had a similar experience last week while out of town. I don't have cable TV, and so am usually not subjected to cable news. Cable TV news is terrible, all commercials all the time and almost no news. Give me NPR and BBC any day. I've mostly stopped watching NFL games for the same reason.

Sunday, July 12, 2009

Chrome: Darn the Luck

It looks like my favorite feature of the Linux version of Chrome, the lack of Flash support, is going the way of the dodo: http://h3g3m0n.wordpress.com/2009/07/12/linux-chrome-flash-ext/ It's nice to have a browser that doesn't support Flash simply because so many web sites use it for advertising content. Perhaps advertising is the predominant use of Flash.

Saturday, June 7, 2008

Irony

Just visited the Fortify home page. NoScript, as is its wont, defaulted to no scripts (default deny). Fortify responded with Please upgrade your Flash Player. I thought Fortify was a security vendor. They're asking me to open myself up to the myriad of Flash vulnerabilities?