Home Forums General Issues ACF field for JSON code (using elementor widget) Reply To: ACF field for JSON code (using elementor widget)

  • That depends, do you trust the people that have access to edit that ACF field?

    Editors can put malicious code into ACF fields.

    As far as security goes, the only people that are allowed to edit sites I build are my company and the owners of the site and people they designate to make changes.

    If you are giving edit access to people that may not be trustworthy then you should consider not allowing specific user roles to edit ACF fields that can be used for malicious intent. This can be done using an acf/prepere_field filter and removing the fields from the editor based on user role.