iOS

iOS file protection classes and device lock state

Protecting data across devices, extensions, notifications and account changes.

iOS data and lifecycle1 min readEditorial methods

File protection defines how data access relates to device locking. Derive the required access window from the product flow.

Evaluation approach

Check that creation, updates and temporary copies preserve the intended class. Do not spread a background-access exception to unrelated files.

Application example

A medical report preview is as sensitive as the original. Include temporary renderer output in the inventory.

Limits and considerations

Protecting the original does not automatically protect copies written elsewhere.

Finding secondary copies

Include previews, exports and sharing in tests. A helper may use different defaults from the main file. Repeat checks while device lock state changes.

Checks and decisions

  • Find temporary copies
  • Test lock states
  • Verify output classes

Sources

The primary references above provide the technical basis. Example workflows and evaluation suggestions are this publication’s explanations, not independent test results for a particular product.