Secure synchronization and storage