Method and system for sharing data