Building Secure SAPUI5 Applications: Best Practices for Developers
A developer-facing rundown of secure coding habits for SAPUI5 apps: typed bindings and custom formatters to reject bad input before it reaches a handler, encodeHTML() instead of rendering untrusted HTML, keeping tokens and URLs out of local and session storage, and CSRF token handling on the ODataModel. It sets up lintingLintingCatching in the editor what would otherwise be caught at deploy time, or not at all — problems in source code and models and in the project's configuration, found by rules rather than by review.SAP and community, narrow by design with ESLint and an eslint-config-ui5 rule set to catch unsafe DOM access, eval calls and unused imports as part of CI, alongside the same input validationInput validationRejecting bad input before it reaches the database. While this can be done manually inside a handler, there are solutions in place to derive type, range, enum and mandatory checks from the model definitions.SAP and community, unassessed instinct: reject invalid input early rather than trust the backend to catch it.
Where it sits
Who is behind it
Properties
About this work
For linting
Details
Graph
Source
History
- explains → applies_to on capability:linting (ui5)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
- Entered the atlasDiscovered via SAP Community · sapui5-tag.
For your agent
- Ref
content:building-secure-sapui5-applications-best-practices-for-developers- JSON
- /content/building-secure-sapui5-applications-best-practices-for-developers.json
- MCP
- Connecting an agent