I would like to build a public-facing map using the ArcGIS Server JavaScript API, which will display datasets stored in ArcGIS Online.
ArcGIS Online seems to work on the premise that all users have a Named User account, and will be signing in to their Named User account before accessing any secure content from ArcGIS Online.
This works well for an organisation, but is less suitable for a public-facing map which doesn't require users to log in.
If the map is to be accessible without requiring the users to log in, then the datasets must be shared with Everyone on ArcGIS Online, which means that any ArcGIS Online user has access to the source datasets.
Is there an option for creating a public-facing map which doesn't require users to log in to ArcGIS Online, without requiring that the source datasets be shared with Everyone in ArcGIS Online?