ERPClimb logoERPClimb
Login
Fiori Security and Authorizations
Fiori & SAPUI5intermediate

Fiori Security Part 1: Front-End vs Back-End Authorizations

Full lesson currently free to read · AI practice limits apply separately

Key takeaway

Understand the two layers of Fiori security: front-end authorizations that allow launching apps and calling OData services, and back-end authorizations that protect business data — in hub and embedded deployments.

Visual overview

Fiori Security Part 1: Front-End vs Back-End Authorizations — learning sheetFlow: Launchpad content → S_SERVICE for OData → Back-end authorization objects → CDS access controls (DCL) → Data returned. Key ideas: FRONT-END LAYER; BACK-END LAYER; CDS ACCESS CONTROLS; HUB VERSUS EMBEDDED. Watch out: Hiding a tile is not security — the service and data must be protected in the back end.ERPClimb.com / FIORI / LESSON 7/14 / LEARNING SHEETFiori Security Part 1: Front-End vs Back-EndAuthorizations1 · HOW IT FLOWS1Launchpadcontent2S_SERVICEfor OData3Back-endauthorizationobjects4CDS accesscontrols(DCL)5Datareturned2 · KEY IDEAS EXPLAINEDFront-End LayerTo use an app, a user needs launchpad content(catalogs, spaces) and authorization to call theOData service, checked with authorization object…Back-End LayerWhen the service reads or changes data, classicauthorization objects (for example company code orplant checks) and RAP or application checks decide…CDS Access ControlsFor CDS-based services, data control language(DCL) access controls add row-level restrictionsautomatically to selects, for example limiting…Hub Versus EmbeddedIn a hub deployment, a central front-end serverserves apps for several back ends; users needfront-end roles there and back-end roles in each…3 · REMEMBER · WATCH OUTRememberFront-end roles grant launchpad content and permission to start ODataservices (S_SERVICE).Back-end roles grant authorization objects that protect business dataand actions.In a hub deployment, these are in different systems; in embedded, bothare in S/4HANA.!Watch outHiding a tile is not security — theservice and data must be protectedin the back end.4 · IN A REAL PROJECTA custom app hid a salary column in the UI for most users, but the OData service still returned it. A useropened the service URL in the browser and saw all salaries. The service was changed to check authorizationsand exclude the field for unauthorised users, and a security review was added for custom services.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

📌 KEY POINTS
✅ Front-end roles grant launchpad content and permission to start OData services (S_SERVICE).

✅ Back-end roles grant authorization objects that protect business data and actions.

✅ In a hub deployment, these are in different systems; in embedded, both are in S/4HANA.

✅ CDS access controls (DCL) restrict data rows read through CDS-based services.

⚠️ Hiding a tile is not security — the service and data must be protected in the back end.

━━━━━━━━━━━━━━━━━━━━
▶ WHERE WE ARE

This series covers Fiori security. Part 1 explains the layers.

━━━━━━━━━━━━━━━━━━━━
▶ 1. FRONT-END LAYER

To use an app, a user needs launchpad content (catalogs, spaces) and authorization to call the OData service, checked with authorization object S_SERVICE. In a hub deployment, this lives on the front-end server; in embedded deployment, in the S/4HANA system.

━━━━━━━━━━━━━━━━━━━━
▶ 2. BACK-END LAYER

When the service reads or changes data, classic authorization objects (for example company code or plant checks) and RAP or application checks decide what the user may see and do. These are the real protection of business data and must be designed carefully.

━━━━━━━━━━━━━━━━━━━━
▶ 3. CDS ACCESS CONTROLS

For CDS-based services, data control language (DCL) access controls add row-level restrictions automatically to selects, for example limiting sales orders to the user's sales organisation. Without a DCL, a CDS view may expose all rows if authorization check is not required.

━━━━━━━━━━━━━━━━━━━━
▶ 4. HUB VERSUS EMBEDDED

In a hub deployment, a central front-end server serves apps for several back ends; users need front-end roles there and back-end roles in each system, plus trusted connections. Embedded deployment simplifies administration because both layers live in S/4HANA.

━━━━━━━━━━━━━━━━━━━━
▶ 5. PRINCIPLE

The UI is never the security boundary. Hidden tiles or disabled buttons improve usability; the OData service, CDS access controls and back-end checks enforce security. Every app must be safe even if a user calls its service directly.

━━━━━━━━━━━━━━━━━━━━
▶ STEP BY STEP

  1. Identify the OData service of one app and its S_SERVICE entry.
  2. Check the back-end authorization objects used by the service.
  3. Find the DCL of the underlying CDS view.
  4. Call the service directly as a restricted user and check results.

✅ CHECKPOINT: you can explain for one app what front-end and back-end authorizations protect.

How the SAP process fits together

SAP PROCESS EXPLORER · Fiori: from service to user

ERPClimb.com

Fiori Security and Authorizations — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

Selected process stage

Launch

Front-end roles give access to catalogs and tiles

What this specific lesson teaches

Understand the two layers of Fiori security: front-end authorizations that allow launching apps and calling OData services, and back-end authorizations that protect business data — in hub and embedded deployments.

Key lesson principle: Front-end roles grant launchpad content and permission to start OData services (S_SERVICE).

Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario. The chapter-specific facts come from the published lesson text.

Real project scenario

A custom app hid a salary column in the UI for most users, but the OData service still returned it. A user opened the service URL in the browser and saw all salaries. The service was changed to check authorizations and exclude the field for unauthorised users, and a security review was added for custom services.

Common mistakes

  • Relying on hidden UI elements for security.
  • CDS views without access controls.
  • Forgetting S_SERVICE in roles.
  • Hub setups without matching back-end roles.

Best practices

  • Security in services and back end.
  • DCL for row-level restrictions.
  • Paired front-end and back-end roles.
  • Test services directly with restricted users.

Interview angle

Interviewers ask the difference between front-end and back-end authorizations, the role of S_SERVICE and CDS access controls, and why hiding UI elements is not security.

Practice this lesson

Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.

Quick check

0 of 3 questions attempted

1. Which authorization object controls starting an OData service?

2. What do CDS access controls (DCL) provide?

3. A field is hidden in the UI but still returned by the service. What is the risk?

Interview questions

1. Explain how security works for a Fiori app end to end.

Answer it in your own words first, then compare.

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.

More lessons in this topic

Related SAP topics