Skip to Content
Common Design Patterns for Symbian OS: The Foundations of Smartphone Software
book

Common Design Patterns for Symbian OS: The Foundations of Smartphone Software

by Adrian A. I. Issott
December 2008
Intermediate to advanced
443 pages
10h 24m
English
Wiley
Content preview from Common Design Patterns for Symbian OS: The Foundations of Smartphone Software

7.3. Quarantine

Intent

Load plug-ins as separate processes, operating at different levels of trust to your own, to increase the flexibility of your architecture without compromising security.

AKA

None known

7.3.1. Problem

7.3.1.1. Context

You need to provide a secure fire-and-forget extension point in your component and you can't use Buckle (see page 252) due to the restraints it places on the capabilities of the framework and its plug-ins.

7.3.1.2. Summary
  • Architectural extensibility has to be provided.

  • The potential damage caused by plug-ins needs to be limited by minimizing the capabilities with which they execute (principle of least privilege).

  • There must be minimal restrictions on who can provide plug-ins.

  • Different sets of capabilities are required for plug-ins and the framework.

7.3.1.3. Description

Buckle (see page 252) works best when there is a close match between the capabilities of the framework and those expected of its plug-ins. Where there is a mismatch between the capabilities of the framework and any that one or more plug-ins might need at run time, it can be tempting to simply raise the capabilities of the framework process so as to support any reasonable activity of a plug-in DLL. This is bad practice since the result is to raise the security risk by unnecessarily putting more trust in the whole framework process and all the DLLs it depends on,[] not just the plug-ins. It would also be contrary to the principle of least privilege. For instance, if one plug-in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

PHP 7: Real World Application Development

PHP 7: Real World Application Development

Doug Bierer, Altaf Hussain, Branko Ajzele

Publisher Resources

ISBN: 9780470516355Purchase book