I'm planning to store hashed passwords and PINs using realm. I've been researching on salting, and it's recommended to have a different salt for each password / PIN. Also it's recommended that the salt should be somewhere within the database. 

My question is are .realm files secure? Is there a way to guarantee that the contents of the .realm files cannot be opened?