You can protect data privacy and make co-browsing safe by hiding sensitive information, stopping certain actions, and hiding certain elements. Depending on the legal and location-specific requirements, you can apply data masking to fields such as social security numbers or credit card numbers. By blocking certain actions, you can also stop agents from submitting information on behalf of customers.
Note:
Ensure that any other JavaScript events cannot edit the field masked for security.