Better HN
topnewbestaskshowjobs
Log inSign up

Ehekatl

2 karma · joined Feb 1, 2016 (10y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

when "saved state" works it help with certain siutation, but the convenience it bring can't not justfy the security cost. Besides, this mechanism is problemmactic under certain situation (AFPS disk full, power cut off, OS crash, etc), there will have corrupted state file, and may leads to data lose.

I'm still remember this problem happen to Atom, cause me a lot of data loss, in the end, apps will have their way of store temporary state file, without relying on macOS's build-in state, like office and all other modern code editor.

comment 4y ago · link · parent

Just wrote a email to product-security@apple.com User should able to disable "saved state" when app does not implement `applicationSupportsSecureRestorableState`.