Protection of 4D Write Pro dynamic expression evaluation

With 4D v16, 4D Write Pro is now providing a higher level of protection regarding the evaluation of 4D expressions in documents.
Developers can now fully rely on 4D for checking the evaluation of these expressions. By doing so, end-user machines and databases will be automatically protected from any possible side effects.

A valid 4D expression can be a field, a variable, a 4D command, a statement returning a value, a project method, and so on.

Starting with 4D v16, “unsafe” 4D expressions will no longer be evaluated and an error will be displayed instead.

To be considered safe, an expression must contain:
• only allowed 4D commands (same list as Formula Editor)
• only allowed 4D Methods (declared by the 4D Developer using the SET ALLOWED METHODS command)

This security mechanism can be disabled through “Database Settings” in the “Data Access” section of the “Security” tab:

Database settings 4D Write Pro

To know more about this feature, you can take a look at the following “How Do I” database:

Database Example

For more details, please take refer to the related article in 4D v16 documentation.

Caroline Briaud
• 4D Product Team Leader •Caroline joined 4D SAS in July, 2013 as an Engineering Manager responsible for new features definition. Caroline helped the Engineering team to put in place the R-release concept, with the new development process definition and its application within 4D’s engineering teams.Caroline is now leading the 4D Product team, mainly made up of Product Owners which are representing the customers within Engineering.Caroline started her career as a software developer in the mobile phone industry. She specialized in program management with an American company in an international context spread across US, India and China.