All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

The Hidden Complexity of Opening Files Across Security Boundaries

By

ffin

1mo ago· 10 min readenInsight

Summary

This article explores the complexity of opening files across security boundaries in software development. It contrasts the simple case for app developers (calling a standard library function) with the extremely difficult case for developers working with security boundaries involving shared filesystems. The author discusses the challenges when two processes on either side of a security boundary operate on a shared filesystem tree, highlighting the trust issues and technical hurdles involved in file operations in secure contexts.

Key quotes

· 3 pulled
If you are an app developer, you're lucky and it's almost always the first answer.
If you develop something with a security boundary which involves files in any way, the correct answer is very likely the second one.
Depending on the context the answer can be: very simple, just call the standard library function extremely hard, don't trust anything
Snippet from the RSS feed
It’s a question I had to ask myself multiple times over the last few months. Depending on the context the answer can be: very simple, just call the standard library function extremely hard, don’t trust anything If you are an app developer, you’re lucky an

You might also wanna read