OutSystems standards and guidelines at Synobsys

Logo

Standards, best practices and how-tos for developing OutSystems applications

ADR 3 - Server Actions exposed to Reactive applications must be secured

Context

Decision

We will check that a user is logged in and that this user has the proper authorization to perform the action. For this we will using the <Check<RoleName> function

Rationale

We rejected the use of a token because in rest request the token parameter will become visible and may be copied.

Usernames, passwords, session tokens, and API keys should not appear in the URL, as this can be captured in web server logs, which makes them easily exploitable. https://api.domain.com/user-management/users/{id}/someAction?apiKey=abcd123456789 //Very BAD !! The above URL exposes the API key. So, never use this form of security.

See also [Documentation] Server-side security

Status

Accepted

Consequences