Saturday, 1 March 2014

Firefox OS


Firefox OS (also explicit  by its codename "Boot to lizard" or "B2G") is Mozilla's open provide mobile package supported operating system and Mozilla's lizard technology. Firefox OS may be a mobile package that's free from proprietary technology whereas still a powerful platform that has application developers an opportunity to make superb merchandise. to boot, it's versatile and capable enough to make the tip user happy.
For internet developers, the foremost very important 0.5 to understand is that the whole malicious program may be a internet app, one that is capable of displaying and launching various internet apps. Any modifications produce} to the pc program and any applications you produce to run on Firefox OS area unit sites, albeit with accrued access to the mobile device's hardware and services.

The app startup methodology

When the user selects AN app they'd want to launch, or AN app otherwise has got to be launched, the house screen app starts by getting AN app reference from the App API, then vocation the App.launch() technique to launch the app.
Gecko receives that request and sends the mozChromeEvent to the System app with the app's details. The System app handles that event by inserting a replacement into its DOM tree and loading the app at intervals the new . That frame square measure about to be the app's home until it terminates.Every app wants a manifest that describes the app, and includes a selected file hierarchy at intervals its package.

Secure System preparation

Firefox OS comes place in on the smart phone. the initial system image is created by a acknowledged , trustworthy provide – generally the device OEM – that is answerable for aggregation, building, testing, and digitally language the distribution package.
Security measures square measure used throughout the technology stack. file system privileges square measure implemented by Linux's access management lists (ACLs). System apps square measure place in on a volume that is read-only (except throughout updates, once it's quickly read-write). only areas containing user content may even be read-write. varied parts at intervals the device hardware have integral protections that square measure implemented by default as customary trade apply. Chipset manufacturers, as Associate in Nursing example, use hardening techniques to reduce vulnerabilities. The core platform (Gecko and Gonk) is hardened to strengthen its defense against potential threats, and hardening choices of the compiler square measure used where applicable.

App Security

Firefox OS uses a defense-in-depth security strategy to protect the itinerant from intrusive or malicious applications. This strategy employs a variety of mechanisms, also as implicit permission levels supported associate app trust model, sandboxed execution at run time, API-only access to the underlying itinerant hardware, a robust permissions model, and secure installation and update processes.
In Firefox OS, all applications square measure web apps – programs written practice HTML5, JavaScript, CSS, media, and totally different open web technologies (pages running at intervals the browser do not appear to be expressed as web apps throughout this context). as a results of there aren't any binary ("native") applications place in by the user, all system access is mediate strictly through the net genus. Even access to the file system is just through web genus and a back-end SQLite data – there is not any direct access from apps to files hold on on the Rushmore State card.
Firefox OS limits associate degreed enforces the scope of resources which is able to be accessed or utilised by Associate in Nursing app, whereas collectively supporting an outsized vary of apps with varied permission levels. Mozilla implemented tight controls over what style of applications can access that genus. as Associate in Nursing example, only certified apps (shipped with the phone) can have access to the telecommunication API. The Dialer app has privileges to access the telecommunication API thus on produce phone calls, but not all certified apps can access this API. This prevents a state of affairs, as Associate in Nursing example, at intervals that associate discretionary third-party app gets place in, dials a pay-per-use variety (900 and 910), Associate in Nursingd racks up an outsize bill. However, totally different OEM apps can be selectively given access to the telecommunication API. as Associate in Nursing example, associate Operator could provide a systems management application that allows a shopper to manage their account, also because the flexibility to phone the Operator’s asking or support geographical point directly.
The following choices closed in at intervals the machine square measure presently functionally stable, in step with Mozilla:
• Push to Device.
• Rotation simulation.
• Basic geolocation API simulation.
• Manifest validation.
• Stability fixes for installation and updates to apps.
• Newer versions of the Firefox rendering engine and Greek deity (the UI for Firefox OS).
The arguably biggest addition to version 3.0 is that the new Push to Device feature. If you've associate existing device supporting Firefox OS, you will be ready to connect it via USB and push apps place in at intervals the Firefox OS machine on to that (make bound to modification remote debugging: Settings > Device data > lots of information > Developer > Remote debugging).
For those whereas not a tool, there square measure still new choices worth light-weight. Basic geolocation API simulation has been else, so you will be ready to check geolocation in your app, and browse out line of meridian and latitude values (specifying geolocation is throughout a later release).
You can presently collectively rotate the machine, allowing you to induce events once you are doing, additionally on adapt your contents to every portrait and landscape.



No comments:

Post a Comment