Best Practices For Anonymous Access
This topic provides the security best practices for anonymous forms and anonymous pages.
Best Practices For Anonymous eForms
This topic provides the security best practices for anonymous forms.
Examples
- (Example) Use Anonymous Authentication in a Process-Based App
- (Example) Use Anonymous Authentication in a Form-Based App
- (External) Restricting API Access for Anonymous Forms
- Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.
Good to Know
- If you have questions about the security impacts or best practices for anonymous forms, contact AgilePoint Professional Services.
Access Rights Required to Create an Anonymous Form
- An app designer who configures an eForm to use anonymous authentication (used with anonymous forms) must have a role
with the Allow Enabling Anonymous Access access right.
The Allow Enabling Anonymous Access access right lets the application designer create an anonymous form in App Builder at design time. It does not control the security for the anonymous form or the anonymous form user at runtime. The user credentials used for the anonymous authentication access token do not require this access right.
Access Rights Required to Submit the Anonymous Form at Runtime
- As a security best practice, in your access token for anonymous forms, AgilePoint recommends user credentials with minimum access rights. This is a user with the Users
role with the default access rights.
It is not recommended to use an Administrator, Application Designer, or Developer account of any kind for anonymous access.
In AgilePoint NX OnPremises and AgilePoint NX PrivateCloud, anonymous forms can use the AgilePoint Service Account for authentication if you select User System Account when you configure an access token for anonymous forms. However, this practice carries extreme security risks. This is not recommended unless you have a specific business requirement for Service Account access, and the security risks are mitigated.
If you use the AgilePoint Service Account, the credentials are not stored in the database.
Restricting a Lookup
- To enforce strict security, AgilePoint highly recommends
you use anonymous forms for data entry only, and avoid using lookups
that connect to your backend systems.
However, the decision whether to use lookups in anonymous forms is based on your business requirements. If your requires you to use a lookup to backend system, make that design choice as necessary.
Whitelisting APIs for eForms
- To make sure only APIs specific to run through the eForm are allowed to avoid security risks, such as code injection attacks, AgilePoint recommends you select Enable API Whitelisting on the Security tab on the Anonymous eForm Access Configuration screen.
- For more information, refer to (External) Restricting API Access for Anonymous Forms.
Best Practices For Anonymous Pages
This topic provides the security best practices for anonymous pages.
Examples
- (Example) Anonymous Page in Page Builder
- (External) AgilePoint NX Page Builder Pages Now Available To External Users
- Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.
Good to Know
- If you have questions about the security impacts or best practices for anonymous pages, contact AgilePoint Professional Services.
Access Rights Required to Create an Anonymous Page
- A page designer who configures a custom page to use anonymous authentication must have a role
with the Allow Enabling Anonymous Access access right.
The Allow Enabling Anonymous Access access right lets the page designer create an anonymous page in Page Builder at design time. It does not control the security for the anonymous page or the anonymous page user at runtime. The user credentials used for the anonymous authentication access token do not require this access right.
At minimum, the user account associated with the Anonymous End User access token must be a member of the Page Viewers permission groups for the custom page.
Access Rights Required to Display an Anonymous Page at Runtime
- As a security best practice, in your access token for anonymous pages,
AgilePoint recommends user credentials with minimum access rights.
This is a user with the Page Viwers permission group
with the default access rights.
It is not recommended to use an Administrator, Application Designer, or Developer account of any kind for anonymous access.
Whitelisting APIs for Pages
- To make sure only APIs specific to run through custom pages are allowed
to avoid security risks, such as code injection attacks,
AgilePoint recommends you add only the required APIs.
To add an API, click Add Whitlisted API on the Anonymous Access Settings tab on the Settings screen.
- For more information, refer to (External) AgilePoint NX Page Builder Pages Now Available To External Users.