i have some confidential attribute that need to be omit from different group of users , on ArcGIS online.
You could consider creating hosted feature layer views, and share appropriate view(s) to corresponding group(s).
Hosted Feature Layer Views - A Practical Example