Windows started to use
sandboxing
, so browser has less priviledges.
Security design by Microsoft
- Process had different levels of priviledges
- Low-priviledge process can not write to protected files
- Priviledge is inherited
- "no write down"
Historically many Microsoft code is old, and designed without much thoughts in security.
Many existing Microsoft code wants to write files: cache, temp files, cookies, history, registry, etc.
Rather than
rewrite whole codebase
, Microsoft added a layer thatvirtualizes
these function: when you try to write a file with low priviledge, you are writing to a copy of the file, save somewhere, then swap file can replace old file.Pay down tech debt
.Software update (security update) vs. User convenience:
don't annoy users
!
Access control for message passing: prevent
low-priviledge process
to send message tohigh-priviledged process
.Microsoft: separate Ineternet Explorer from Windows Explorer(i.e. restored the distinction between net and desktop)
Firefox runs as one process Chrome and IE 8 use a process per tab.