As per ArcGIS Online's documentation (Manage hosted feature layers—ArcGIS Online Help | ArcGIS ), you cannot disable access to attachments; in the current context disabling attachments disables the functionality entirely and removes the features.
I’d like to make a road closure map for the public from data we receive from consultants regarding road closure applications. These applications comprise of information regarding road closures and engineering drawings (with IP attached to it).
So, I’d like to make a feature layer view of these applications, with sensitive info and all Attachments removed before sharing it with the public.
I have successfully managed to disable all sensitive fields. But, I cannot disable the attachments (from the feature layer view).
I'd really really like this feature to be enabled in the future?