When attempting to export a publicly shared feature layer from another organization in ArcGIS Online, the following error message is returned:
Error: User does not have access to export data.
This is a known issue. The error occurs because the security settings in ArcGIS Online do not allow HTTP connections by default. This default security setting disables exporting a feature layer in a HTTPS-enabled organization, shared from an organization where HTTPS is not enabled.
Note: Enabling HTTPS connections ensures sensitive information in the organization is encrypted during communications over the internet, and helps to protect data from malicious activity. The encrypted information becomes unreadable to everyone except for the server authorized to read the information.