Interprocess Communication with macOS: Apple IPC Methods


Interprocess Communication with macOS: Apple IPC Methods
by 作者: Hem Dutt
Publisher Finelybook 出版社: Apress; 1st ed. edition (29 May 2021)
Language 语言: English
pages 页数: 301 pages
ISBN-10 书号: 1484270444
ISBN-13 书号: 9781484270448


Book Description
Build highly modular software in macOS that interacts deeply and intuitively with other programs. This book explores all techniques available for Inter-process communications (IPC) from high level macOS layers to deep kernel options while applying theoretical concepts into practical implementations on real world scenarios.
You’ll see how IPC techniques are used for exchanging data and messages among multiple threads in one or more processes,which may be running on one or more computers connected by 作者: a network or running locally. IPC methods can be divided into methods for message passing,synchronization,shared memory,and remote procedure calls (RPC). A poorly conceived IPC can even expose an entire network to over-the-network attacks. Despite the risks,processes and applications absolutely need to communicate with each other across your system and the network. You’ll see how these communications facilitate information sharing,computational speedup,modularity,convenience,and privilege separation.
In macOS,a program has a number of ways to communicate with other programs. These mechanisms for IPC often exist in different layers of the system. You’ll examine how each has its own specific purposes,limitations,and intended scenarios. Some are more suitable than others for code written at a certain level of the system. For example,a kernel extension would not make use of Apple events.
Additionally,the book reveals that different users have different rights when it comes to accessing files,changing system wide settings,and so on,depending on whether they are admin users or ordinary users. Running code with root or administrative privileges can intensify the dangers posed by 作者: security vulnerabilities. You’ll learn that to elevate privileges safely,it is mandatory for the application to perform the task through a secure Helper process.
What You’ll Learn
Expand the capabilities of your programs by 作者: sharing data within multiple applications
Understand and dig deep into the world of Helper tools to create apps that need user privilege elevation
Enhance the modularity of a system by 作者: allowing your applications to interact and share data with a website

打赏
未经允许不得转载:finelybook » Interprocess Communication with macOS: Apple IPC Methods

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏