How to test object substitution attacks and NSSecureCoding
In this blog post I tell you how to test object substitution attacks and how using NSSecureCoding can prevent such attacks. I will also
share example code on how to use NSKeyedArchiver and NSKeyedUnArchiver either with or without NSSecureCoding.
exp...
blog.eidinger.info3 min read
Tim
Hi Marco, thank you so much for the helpful explanation and writeup! I was wondering though, do you know if the Swift-based
Codableprotocol is also secure from object substitution attacks likeNSSecureCodingis? Or does it have the same security asNSCoding?