Skip to main content

Sandbox

See All Stories

Write Swift code in a web browser with the IBM Swift Sandbox

Screen Shot 2015-12-04 at 14.05.41

IBM has today unveiled their first public effort towards Swift, with the introduction of the IBM Swift Sandbox website. You can type lines of Swift code into the text editor on the left and then run the code on a Linux server, posting the output in the right column. This is all made possible by the fact that Swift is now open source, supporting Linux alongside iOS and OS X.

You can use the core Swift language as well as the standard library functions, so writing a formulaic mathematical problem (like the Fibonacci example above) is well within the scope of the web application. The concept is similar to the CodeRunner app from the Mac App Store, except it runs entirely off a cloud infrastructure.


Expand
Expanding
Close

Site default logo image

Latest Mavericks Safari browser safer as Flash finally gets sandboxed

sandbox

Safari 7, introduced with OS X Mavericks, is now better protected against malware and poorly-written Flash code as Flash is finally sandboxed.

Sandboxing means that OS X restricts what the code can do, stopping a badly-written app from crashing the entire browser and preventing malware from getting access to any other part of your Mac. Flash has been sandboxed for some time in Chrome, Firefox and even Internet Explorer.

In an Adobe blog post, Platform Security Strategist Peleus Uhley wrote:

For the technically minded, this means that there is a specific com.macromedia.Flash Player.plugin.sb file defining the security permissions for Flash Player when it runs within the sandboxed plugin process. As you might expect, Flash Player’s capabilities to read and write files will be limited to only those locations it needs to function properly. The sandbox also limits Flash Player’s local connections to device resources and inter-process communication (IPC) channels. Finally, the sandbox limits Flash Player’s networking privileges to prevent unnecessary connection capabilities.

Safari users on OS X Mavericks can view Flash Player content while benefiting from these added security protections. We’d like to thank the Apple security team for working with us to deliver this solution.

Via CNET