I'm creating a new plugin for WordPress that requires an outside website to consume a web service. For instance, if there are two sites, A and B, the plugin will be installed on A with all associated data stored in WPDB for Site A. Site B will use the web service to grab data from Site A.
Is this possible? What would be the most secure way of pulling this off?