BRAINYARDNEWS
ABOUT THE AUTHOR


David F. Carr
David F. Carr
David F. Carr is Editor of The BrainYard, the community for social business on InformationWeek.com, covering social media and the...
Read Full Bio >>
See More From This Columnist >>
SHARE



Facebook iFrames: Good For Business, Bad For Security?

David F. Carr | March 21, 2011
 
   
Facebook iFrames: Good For Business, Bad For Security? Legitimate developers will be pleased with the expanded flexibility, but malicious ones will find it easier to introduce malware, security experts warn.

Legitimate developers will be pleased with the expanded flexibility, but malicious ones will find it easier to introduce malware, security experts warn.

When Facebook made a series of changes to its platform for applications and business pages in February, developers by and large cheered, but some security folks groaned.

One significant change that Facebook had been telegraphing for months was a shift in the technical integration of the tabs displayed on a Facebook business page. For any company trying to create more advanced modes of interaction with customers on Facebook, beyond the chatter of the Wall, Facebook tabs are an important tool. Several prominent consumer product and retail companies like Best Buy, Coca-Cola, and Levis have exploited this medium aggressively. However, until recently Facebook application developers have not been able to use the full range of tools available to them in any other Web application. It used to be you had to code page tabs in FBML -- a Facebook markup language derived from HTML -- and could use only Facebook-approved JavaScript and AJAX commands.

Those limitations went away in February, with the introduction of support for HTML IFrames (inline frames) as the display technology for page tabs. Now, Facebook says it is phasing out support for new FBML apps and page tabs (although existing ones continue to function) in favor of its newer XFBML and JavaScript developer's kit, which works in both Facebook IFames and independent Web pages.

This means you can use any Web page as the source for your page tab content. Just plug the URL into Facebook's app registration form, put in the text you want to appear on the tab label, and add it to your page. Aside from the width of the tab content, which must be under 520 pixels to display properly, there are few if any technical limits on what content can appear in that spot -- use any JavaScript library, use Flash, use Silverlight -- all sorts of things that used to be off limits.

Rik Ferguson, Director of Security Research and Communication at Trend Micro, blogged about the "open JavaScript hole" created by the change the day after Facebook announced it. "While this is no doubt great news for legitimate developers, it will undoubtedly make life for those with malicious intent much easier too," he wrote. For example, a tab can now include JavaScript that redirects your browser to a Web site containing malicious software.

I saw Ferguson's post shortly after it appeared and felt inclined to dismiss it, since at the time I was having fun experimenting with the possibilities of iFrame-based integration, including a WordPress plugin that exploits this capability.

But I heard the case against IFrames again last week in a conversation with Perimeter E-Security chief technology officer Andrew Jaquith. "Let's face it, iFrames are basically evil -- they always have been," he said.

COMMENTS

STAYUPDATED

Sign up to the BrainYard email newsletter

*Required field

Privacy Statement

BRAINYARDRESEARCH
The State of Community Management
The State of Community Management documents a comprehensive set of lessons learned to help define this emerging role and give you the tools to be successful in your social initiatives.
Enterprise 2.0: What, Why and How?
This paper is an introduction to Enterprise 2.0 ‐ why it is one of the most crucial concepts to understand in business today and how you can begin to take advantage of E2 in your organization.
Guide to Understanding Social CRM
This paper presents the foundational components of Social CRM and lays the groundwork required for your company to build and maintain long and valuable customer relationships.
VIDEOGALLERY
Startup DataSift's Big Data Platform
DataSift CEO Rob Bailey talks about the growth in big data, and his company's platform to ingest, manage and provide that data from social networks. He also provides a quick demonstration of the product.
Salesforce.com's Social Enterprise Approach Pushes
Salesforce.com co-Founder Parker Harris discusses why the company has moved past its Cloud 2 mantra, with acquisitions like Heroku and Radian6 enabling even tighter customer relationships for the enterprise.
March Madness And Social Networking
March Madness and pro sports hold many lessons for social network marketing. In this exclusive interview Eric Lundquist interviews sports broadcaster Butch Stearns on what social network marketing can learn from how sports teams social network
SLIDESHOWS
7 Examples: Put Gamification To Work
An increasing number and variety of business applications are integrating game mechanics, or gamification, to improve user engagement, engage new...
Get Social: 11 Management Systems That Can Help
Social media management systems can help your organization manage and measure increasingly sophisticated social strategies.
6 Social Sites Sitting On The Cutting Edge
Your company's Facebook and Twitter presence are established, but don't rest there. Consider these other social sites--some familiar, some less...