Servoy allows users to quickly set up user groups and enable multilevel security access to solutions. This chapter describes how to assign security settings at the solution, form, and table level.

Note: For information on creating user groups, visit the chapter on Defining User And Group Security. Servoy also supports database security (enforced by the database) via the Servoy database server connection. For details, consult the documentation on your database server.

Solution-Level Security 

Servoy allows developers to create login forms/solutions (see Working with Solutions) to allow authenticated access to an application or solution. Once the login solution is created, it can be added to a solution via the Properties view.

To add security features to a solution:

  1. Activate the solution from the All Solutions node, if it is not currently active.
  2. Select the currently active solution. The Properties view, normally on the right of the workbench, should show a filtered list relevant to the solution level. (If the Properties view is not visible, enable it using the menu item Window>Show View>Properties.
  3. Under the Properties node, specify the following information as applicable:

Setting Form and Form Element Security

Security settings can be specified at the group level for an entire form or for selected form elements via the Form Editor Security subtab (see image below).

Setting Database Table Security

Servoy allows developers to easily set table-level security via the Security subtab of the Table Editor. Groups can be assigned either implicit or explicit security settings (see image below).
To manage security settings for a database table:

  1. In Solution Explorer, select the database from the Database Servers node. A list of tables will appear at the bottom area.
  2. Double-click to open the desired table. It will open in the Table Editor view.
  3. Select the Security subtab.
  4. Select the group for which you would like to assign security settings.
  5. Make your security selections.
  6. Save your changes using File>Save or CTRL-S (cmd-S).