BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

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 linting 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 validation instinct: reject invalid input early rather than trust the backend to catch it.

Where it sits

Explains
LintingUI5LintingcapabilityCatching 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.Input validationInput validationcapabilityRejecting 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.
Source
reachable

Who is behind it

Manisha_19author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,816

For linting

on the edge
Applies in
authored
ui5

More on this11

Group by11 of 11 pieces
Piece, what it offersStill applies
Also explainingLinting11
Before You Upgrade S/4HANA: Static UI5 Checks with MCP
blog.zeis.de — Marian Zeis, Marian Zeis, part 9 of 10Runnable codeThe reasoning
nothing recorded
Declarative Programming in CAP: Less Code, More Value
SAP Community, BirgitSThe reasoning
nothing recorded
Migrate your code with UI5 linter – Autofix has landed
SAP Community, Florian Vogt
nothing recorded
Open Source UI5 Form Validator
SAP Community, actor:learnin
nothing recorded
CAPVAL: A project is born
SAP Community, MattBrightman
nothing recorded
Extend SAP Cloud Application Programming Model(CAP) Validations with the CAPVAL Plugin
SAP Community, MattBrightmanThe reasoningRunnable code
nothing recorded
#CAP-TechBytes Input Validation
SAP Community, ThajunnizaThe reasoning
nothing recorded
#BTP #SAPCAP: Quirky Nuggets (N01-N02)
SAP Community, Ajit Kumar Panda
nothing recorded
[Part - 1] Enrich CAP based Services with Behaviors using Annotations
SAP Community, Ajit Kumar Panda
nothing recorded
Learn how to define constraints declaratively in your CDS model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Everything new: Try out the latest features in CAP
SAP TechEd — session catalogue, Daniel Hutzel, Daniel SchlachterA recipe
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsLintingcapability, core and community
explainsInput validationcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitysapui5-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • 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