Mac Developers Weigh Safari Potential as iPhone App Platform

Macintosh developers shrug over reports of security flaws in Safari for Windows.

Apples Safari browser is finding favor with Windows users. The Cupertino, Calif., computer company disclosed June 14 that visitors to its Web site had downloaded more than 1 million copies of the Windows-compatible beta version of the Safari 3 Web browser in the first 48 hours of its availability.

However, any satisfaction about the browsers popularity was tempered by news that a security researcher found another security hole in the browser before Apple could release patches to fix a host of vulnerabilities that were discovered within hours after Safari for Windows started reaching customers hands.

The latest flaw, posted by security researcher Robert Swiecki, lets attackers steal a cookie or fill the browser window with arbitrary content.

The newly patched version closes a variety of other security holes, including memory read issues, a JavaScript exploit and URL validation problems.

Most Macintosh developers paid little attention to news of Safari patches because they have little interest in the Windows platform. But one developer applauded Apple for responding quickly to the vulnerability reports that started coming in soon after Safari for Windows was released to the public.

"Its encouraging that Apple is showing commitment to the Windows platform by quickly addressing criticisms and bug reports," said Jeff Atwood, software developer at Vertigo Software.

"Still, its hard to get excited by what is a glorified Mac emulator, instead of a legitimate Windows application."

/zimages/3/28571.gifClick here to read Larry Seltzers commentary on why Apples actions are making Safari for Windows an extremely inviting target for malware writers.

Overall, developers, the audience to whom this new Windows application was unveiled at this weeks Worldwide Developer Conference in San Francisco, are skeptical of Apples agenda with this move.

"Safari is unapologetically a Mac app and does almost nothing the Windows way, with the possible exception of maximizing behavior," Atwood said.

Various software industry observers have noted that Safari for Windows uses Mac OS X-standard interface elements rather than Windows standards. Software developer Joel Spolsky has even analyzed how Safari for Windows uses its own font smoothing and subpixel rendering for fonts.

"Some people have complained about this, but I think its absolutely by design," said Atwood.

"Safari isnt so much a pretender to the IE/Firefox throne as it is a Mac emulator," he added. "Its intended to facilitate development of Safari-compatible Web apps and iPhone apps by making them dead simple to test. You no longer have to beg, borrow or steal a Mac to see if your Web app behaves under Safari. Just download Safari for Windows and go."

In his WWDC keynote, Apple CEO Steve Jobs made it clear that it is currently his companys position that the only way third parties can place their applications on Apples upcoming iPhone is by using Web 2.0 technologies and running the applications in the iPhones built-in Safari Web browser.

/zimages/3/28571.gifClick here to read Jim Rapozas review of the Safari for Windows beta.

"So from that perspective—and I cant think of any others that make any business sense—the closer Safaris behavior is to the Mac version, the better," said Atwood.

Hao Li, developer of the Saft extension for Safari (the original, Mac OS X version), agreed with Atwoods conclusion.

"[The] only reason I see why Apple releases Safari for Windows is for iPhone development," he said. "I do not think it will affect the browser share on the PC much. Its only for the iPhone developer, which is my guess."

Others noted that although Safari for Windows is a free download, it potentially could be a large revenue source for Apple.

Writing on his Daring Fireball Web site, John Gruber said, "Its not widely publicized, but those integrated search bars in Web browser toolbars are revenue generators. When you do a Google search from Safaris toolbar, Google pays Apple a portion of the ad revenue from the resulting page.

"My somewhat-informed understanding is that Apple is currently generating about $2 million per month from Safaris Google integration," he said. "Thats $25 million per year. If Safari for Windows is even moderately successful, its easy to see how that might grow to $100 million per year or more."

Questions have also arisen in the developer community about the provenance of Safari for Windows.

Although Apple has long developed software for Windows—the QuickTime Player media player and iTunes, for example—some have noted that Safari for Windows brings to that platform some core Mac OS X technologies.

For example, the Safari subdirectory of the Program Files directory includes such elements as CFNetwork.dll, CoreFoundation.dll, CoreGraphics.dll and WebKit.dll.

This has led to some questioning whether Apple will now be able to move other Apple applications to Windows more easily, and if the company has internally a version of its development environment, Xcode, that can produce Windows, rather than just Mac OS X, code.

Apple representatives were not immediately available for comment.

Safari 3.01 for Windows Beta is available from Apples Web site or through the Software Update Application.

/zimages/3/28571.gifCheck out eWEEK.coms for the latest news, reviews and analysis on Apple in the enterprise.