So if you buy a s/h iPhone can anyone recover the data? No , you are confusing data with security , if the phone is “open” no security set then data can be recovered .