auto_stories Bilgi Bankası chevron_right Guides chevron_right Makale

v5 Security Behaviour: Form Access, CSRF and Linksv5

Xpoda v5 adds several security rules to Client. They can block some addresses users could open before. This article explains what changed and what to do when something is unexpectedly blocked.

1. Forms Not in the Menu (403)

A form can be opened in Client in one of these ways:

  • from an item in the user's menu,
  • from an action or link in a form the user has opened (Open Form - New / Detail / Linked / Appendix, Record Detail Form, Copy, Revise, etc.),
  • from a workflow notification addressed to the user (approval or task form).

If the address of a form that is not in the menu is typed by hand or pasted from elsewhere, Client returns 403 (Forbidden). Forms opened by actions are not affected: when a user opens a form, the target forms of its actions become openable for that session.

What to do
  • If the user must open the form directly, add it to the user's menu in the Client admin panel.
  • If the form is opened from another form, make sure the opening form has an Open Form action.
  • Old bookmarked form addresses may stop working; open the form from the menu.

Note: form and record level permissions (hidden fields, cannot see record, etc.) still apply; this rule works in addition to them.

2. CSRF Protection

Requests that change data in Studio and Client (save, delete, file upload, etc.) now require a session-bound verification token. Xpoda screens send it automatically; users do nothing.

  • If an action on a page left open for a long time is rejected with 400, refresh the page and try again.
  • After an upgrade, for unexpected 400 errors clear the browser cache or hard refresh (Ctrl+F5); old scripts may not send the token.
  • Custom integrations that post forms directly to Client from an external system are blocked by this check; use API services for them.

3. Sign-in-Free Links

Two kinds of links open without signing in: the public form link and the payment link. Both carry an unguessable random code and work only for the form/record they were created for. Visitors get no persistent session and cannot move from the link to other forms or data.

For these links to work, a low-privilege reader account must be set in the Client admin panel (see "Public Form Links and the Reader Account"). Its password is stored encrypted with the master key on the server, so Payments:MasterKey must be set in appsettings.json.

4. Approval and Task Notifications

The Show button in the notification drawer opens the related form of the notification. Do not share approval or task links with other users.