As a UX specialist in the S/4HANA Regional Implementation Group team I’m privileged to work with many of our S/4HANA customers. Many of these S/4HANA customers are looking to drive the business benefits of S/4HANA by implementing Fiori at scale. A lot of them seek our advice on how to expose their Fiori apps to the Internet. While this provides the ease to start the Fiori apps without being on the company network or via VPN, it also creates a risk because it makes the involved systems reachable via internet and makes them more vulnerable. Therefore, customers have to make sure they are well protected against cyberattacks. Some customers are not aware of the essential considerations, so as a team, we have consolidated these into this single blog. We hope you find it helpful!
IMPORTANT: This blog only deals with Internet facing Fiori apps. If you want to run your Fiori apps on mobile devices there are additional considerations for Mobile device usage. Certainly also have a look at the Fiori Client and SCP Mobile Services.
IMPORTANT: The security recommendations listed below can help to reduce, but do not eliminate all the risks involved. This blog is intended for S/4HANA but other solutions like Fiori on ERP or Suite on HANA could reuse most of the recommendations.
Once you know if your Fiori applications will be hosted by systems located in the Cloud or On-Premise, you are ready to dive deeper into the considerations. I have focused in this blog on the On-Premise architecture. You’ll find a comparison with SAP Fiori Cloud and some additional information at the end of the blog.
UPDATE 30/01/2020: Added SCP Portal and API Management info
UPDATE 20/08/2019: Added new architecture slide. Added some more info on new tools supported only for embedded deployment. Added 1909 info on mobile device support. Removed Fiori Cloud section as this is not supported anymore in latest releases of S/4HANA, this is planned to be replaced by the SCP Portal.
UPDATE 12/11/2018: Removed architecture section as this is customer specific. And some smaller updates in other sections.
UPDATE 30/04/2018: The blog section “Choosing your Fiori Frontend Server Landscape Deployment Mode” has been updated with the general recommendation for SAP S/4HANA systems for an embedded SAP Front-end server deployment instead of a hub deployment.
After activating Fiori on your S/4HANA system or other SAP Solutions, you might want to enable your end-users to also access these Fiori applications directly from the Internet. We will call this in the rest of this blog “Internet facing Fiori apps“.
Architecture when your Fiori apps are hosted On-Premise
As always with On-Premise solutions you should pay attention to the general advice and recommendations detailed in the SAP NetWeaver Security Guide. However, there are some additional considerations when providing Fiori apps on the Internet.
In the figure below the typical layers of a DMZ are listed with the relevant solutions when Fiori applications are reachable via internet.
- Security Layer with a Web Application Firewall (WAF) and Identity provider (IDP)
- Presentation Layer with a SAP Web Dispatcher configured with Edge Authentication (optional)
- Integration Layer with a dedicated Fiori Frontend Server (FES)
Choosing your SAP Fiori front-end server Deployment Options
Embedded FES = general recommendation
The general recommendation from SAP for SAP S/4HANA systems is to configure an embedded FES deployment and not a hub deployment. More info on this in the blog on SAP Fiori Deployment Options and Recommendations. An important limitation is that having multiple SAP S/4HANA systems with different releases (eg. 1610 and 1709 together) connected to one FES system while sharing the same FLP is not possible.
However, with the embedded deployment option there is no separate FES sever in the DMZ. And when enabling internet facing Fiori apps, the SAP S/4HANA system is exposed more directly. Therefore, when choosing for this deployment option it is even more important to have a good firewall and network security in place. Some options and recommendations on how to do this are discussed later in this blog.
Central hub = exceptional, adds security but also extra costs
Depending on the existing system landscape and Fiori usage scenarios a hub deployment might be preferable for security reasons because the FES can be placed in the DMZ, providing an additional security layer by doing a protocol conversion (OData to RFC) and input validation of the incoming requests.
It’s important to be aware also of the functional restrictions of a central hub deployment. The new Fiori Rapid activation tools released December 2018 are only supported on the embedded deployment option.
Therefore, a central hub deployment will lead to an increased effort to setup and configure Fiori and also requires an additional server. It is up to the customer to decide if this extra cost is worth the additional security gains.
Note that these 2 deployment options can be combined, you could opt for a central hub for internet access and an embedded FES for the intranet Fiori access. The embedded FES could serve also WDA and WebGUI apps while the internet facing central hub FES is only providing SAPUI5 apps.
SCP Portal and API Management
SCP Portal can also be used as a central Launchpad for S/4HANA and other solutions both cloud or on-premise. You can configure via roles which apps can be accessed so in this way you can provide a subset of the S/4HANA apps via the SCP Portal. You can combine this with SCP API Management to provide additional additional security.
SCP API Management blog: https://blogs.sap.com/2017/08/22/sap-cloud-platform-api-management-api-security-best-practices/
Considerations and Recommendations when exposing SAP Fiori apps to the Internet
There are multiple options for customers to bring additional security in their landscape when allowing Fiori applications to be reached via the internet.
Placing Your Firewall and Network Zones
A Web Application Firewall should be placed in front of the SAP Web Dispatcher, monitoring and controlling all incoming HTTP requests. These Firewall solutions have various security features protecting the systems behind against cyberattacks and establishes a barrier between a trusted internal network and the untrusted internet. Attacks like a Distributed Denial of Service (DDoS) should be stopped by the Firewall, so they cannot reach your SAP S/4HANA system.
You can also use a network security mitigation partner to route and filter the internet connections via their network before passing it to your organization.
Firewalls can also be configured with Edge authentication to block all non-authenticated requests.
Configuring Your SAP Web Dispatcher Routing
The SAP Web Dispatcher is needed for routing and distributing the network calls to the correct systems. It should only forward requests to services in the internet communication manager that are necessary to run SAP Fiori apps. In the UI Technology Guide, chapter 22.214.171.124 SAP Web Dispatcher: Setup of, where the latest recommended Web Dispatcher configuration is described.
The SAP Web Dispatcher together with SAP SSO 3.0 can be configured to only pass authenticated requests, in case this is not handled by your Firewall. For more info you can have a look at the SAP Single Sign-On Network Edge Authentication configuration documentation.
NOTE: You can also replace the SAP Web Dispatcher with a 3rd party reverse proxy if you have one already in your network infrastructure. Only for SAP CoPilot there is specific functionality built-in the SAP Web Dispatcher required for authentication.
Do not allow WDA and WebGUI apps
Take special care when allowing SAP GUI for HTML and WDA apps via Internet. If you do want to enable these via internet, make sure to regularly check and implement all related security notes. Implementing these might require some downtime of the backend S/4HANA system. See also one of the next paragraphs on Managing Your Security Patches.
You can use a separate SAP Web Dispatcher instance or different configuration for internal and external access. For internal access you could allow WDA and WebGUI applications, while requests coming from external can be denied WDA and WebGUI access.
NOTE: Using SAP Screen Personas on top of Web Dynpro for ABAP or SAP GUI for HTML is not overriding any security concerns. See SAP Note 314568 on Limitations / Restrictions / Behavior of SAP Screen Personas.
NOTE: SAP GUI for HTML and Web Dynpro for ABAP are not supported on all mobile devices or smartphones for releases until S/4HANA 1809, with the 1909 release some scenarios and devices are supported.
- SAP GUI for HTML. Extract from SAP Note 314568 on the functionality / Limitations / Sp. Behaviour of
- Web Dynpro for ABAP. Extract from SAP Note 314568 on the list of known Restrictions and Browser Support : No mobile device/ Smartphone support. Exceptions for iPad in newer Release
- New with S/4HANA 1909 : some devices/browsers are now supported : SAP Note 2700517 – Mobile device support for Unified Rendering based frameworks: Web Dynpro ABAP and SAP GUI for HTML
Encrypt all System Connectivity
When using non-encrypted network connections, the username and passwords and other sensitive network traffic can be captured by other parties.
Therefore, when enabling Fiori applications from the internet, you should always enable HTTPS end-to-end. Check the Web Dispatcher, NetWeaver ABAP Application Server documentation on how to do this.
After enabling HTTPS you should also prohibit any HTTP connection to your ABAP based systems. This can be done by removing the non-encrypted HTTP ICM services on ABAP Application Server like the SAP S/4HANA system, allowing only HTTPS connectivity.
Managing Passwords and Single Sign-On
Setup good password management, ensure users are required to use longer passwords including digits and special characters, and are prompted to change passwords regularly. Also look into Single Sign-On to enforce the same password management settings across all the involved systems. This can be achieved with technologies like Kerberos, SAML or X.509.
SAML is generally the preferred option for SAP Fiori as this integrates with the cloud solutions like SAP Cloud Platform.
NOTE: There are several solutions such as SAP CoPilot, SAP CoPilot which is provided via the SAP Cloud Platform is available since SAP S/4HANA 1709 FPS1 (on-premise).
Whitelisting ICF node and OData Services via Activation
Only activate the necessary ICF nodes and OData services for the Fiori apps you intend to use. Existing apps which are no longer in use anymore should be deactivated, eg. apps retired due to being replaced by a successor app as part of a release or feature pack upgrade.
Restrict the roles and authorizations of the end-users roles allowing only to what is strictly needed and in all environments available via internet. You can restrict the Fiori Roles via customizing Fiori Catalogs as described in Creating PFCG Role on Front End and Assigning Launchpad Catalogs and Groups and Creating PFCG Role on Back End for Launchpad Catalogs.
Managing Your Security Patches
When systems are reachable from the internet it is even more important to keep these up to date and all security patches should be implemented regularly.
As at time of writing this blog, every second Tuesday of every month is security Patch Day at SAP, where the SAP Product Security Response Team shares a montly summary on the the fixes for vulnerabilities discovered of the last month in SAP products. SAP strongly recommends that the customer visits the Support Portal and applies patches on a priority to protect his SAP landscape. This wiki page contains an overview of the past Security Patch day blogs.
You can implement security patch management with SAP Solution Manager and check the Early Watch (EWA) report to get an overview of the security patches to be implemented on your system. Also the Web Dispatcher can be included, this is described Security Patch Process FAQ.
Managing System Load (Load Balancing & High Availability)
When exposing Fiori apps to the internet, you are opening a channel which can be consumed by all the company’s users as long as they can authenticate to the system. This can translate in bigger system loads.
Therefore a correct sizing and architecture definition must be prepared from the start, considering Fiori will be the single point of access, as you don’t want to have a system-down scenario.
Fiori Via VPN
Another option to allow Fiori from outside the company network is to use VPN. It is important to note that network response times are very important for the usability of SAP Fiori, so the VPN provider must be evaluated carefully.
… and More !
The SAP Mentors call and summary blog What you always wanted to know about SAP Security, but did not dare to ask! and linked recording contain a lot of good background information on how SAP handles security for its products and in the SAP IT Infrastructure and contains further considerations for customers, some of which have already been discussed above.
Becoming a SAP Fiori for SAP S/4HANA guru
You’ll find much more on our SAP Fiori for SAP S/4HANA wiki
Brought to you by the S/4HANA RIG