Core security components for secure file exchange protocol