haven SAP Security
Browse knowledge
Knowledge base
SESS / SECURITY BASELINE

Web session protection

Protect session cookies from script access and transmission without HTTPS.

Risk

A stolen session identifier can allow an attacker to act as an authenticated user.

Java

Settings and priorities

Technology / priorityParameter or mechanismSetting and purpose
Java
Standard
SystemCookiesDataProtectiontrue
Sets HttpOnly for system cookies.
Java
Standard
SystemCookiesHTTPSProtectiontrue for HTTPS connections
Sets Secure for session and load-balancing cookies.

How to verify

  1. Check HTTP Service and Web Container properties.
  2. Verify cookie flags in a real HTTPS connection.
  3. Review redirects and TLS termination.

Related topics

Authentication and communication ↗

Baseline priorities and implementation ↗