Has anyone found a solution for this? I'm running Pro 2.4.0 and publishing to Portal 10.6.1. When I turn off fields in the field view they are still available in the rest endpoint and as a result, the map viewer. If I turn them off in ArcMap and publish the service, the fields are NOT available in the rest end point, and thus securely hidden.
I'd like to have some public content served up from my internal enterprise GDB but I need to disable some of the fields. Yes, a database view would work but I'd rather not clutter up my database with additional items just to accomplish this (seemingly) easy security fix - especially when it works from ArcMap 10.4.1.
Thanks!