Dimitri Gielis
APEX Security 101 (mobile)
www.apexRnD.be
dgielis.blogspot.com
@dgielis
dgielis@apexRnD.be
Dimitri Gielis
❖ Founder & CEO of APEX R&D
❖ 17+ years of Oracle Experience (OCP & APEX Certified)
❖ Oracle ACE Director
❖ “APEX Developer of the year 2009” by Oracle Magazine
❖ Presenter at Oracle Conferences (OOW, ODTUG, OGh, UKOUG, …)
http://dgielis.blogspot.com @dgielis
APEX Security 101
Security still an issue?
http://www.computerworld.com/article/2487807/malware-vulnerabilities/starbucks-vows-to-beef-up-security-on-its-iphone-app.html
https://news.starbucks.com/news/security-of-starbucks-mobile-app-for-ios
http://securityaffairs.co/wordpress/33059/hacking/ios-outlook-app-issues.html
http://securityaffairs.co/wordpress/category/hacking
Smartphone stolen?
Connected to public network?
Data saved on Device?
Already authenticated?
APEX Security 101
Now what?
APEX Security 101
https://www.owasp.org/index.php/OWASP_Mobile_Security_Project
https://www.owasp.org
https://www.owasp.org
Security in APEX environment
https://docs.oracle.com/cd/E59726_01/doc.50/e39147/sec_dev.htm#HTMDB25974
Architecture
VPN
Firewall(s)
Server Side (global)
❖ Architecture (Tunnel, VPN, Firewall, Proxy, …)
❖ patching (all components)
❖ Configure ORDS
❖ Set security.requestValidationFunction
❖ SSL
❖ Instance settings: Require HTTPS
❖ APEX Runtime Environment
Data Protection (Server)
❖ Lowest level = in the database
❖ Real Application Security (RAS)

- more secure, scalable, and cost effective than traditional Oracle VPD
Oracle RAS Benefits
❖ End-user session propagation to the database
❖ Data security based upon application users, role, privileges, and
various relationships
❖ Audit of end-user activity
❖ Simplified administration with declarative security
Oracle RAS & APEX 5.0
Oracle RAS & APEX 5.0
❖ Instance setting
Server Side (APEX)
❖ Isolating Workspaces
❖ Allow Hostnames attribute
❖ Workspace to database schema assignments
Server Side (APEX)
❖ Session Timeout
❖ Password policies
❖ Disable Rejoin Sessions
❖ …
Instance settings
Instance settings
Instance settings
…
In APEX app
App level settings
App level settings
App level settings
App level settings
Page level settings
Authentication
❖ Username / Password
❖ Single Sign-On
❖ 3rd party (Facebook/Google/Linkedin/…)
❖ Through device? (Touch ID)
❖ Plug-ins
Authentication (remember me)
Password items
❖ do not save session state
❖ or store the value encrypted
❖ APEX helps to find password items at risk:
❖ Viewing the Security Profiles Report
❖ Viewing the Password Items Report
Authorization
❖ Once in, limit what people can see and do
Session State Protection
❖ Session
❖ URL Tempering
❖ Default enabled in APEX 5.0
SQL injection
❖ Incorrectly filtered user input used in an SQL operation leading to
unintended side-effects
SQL injection
select *
from emp
where ename = '&P7_SEARCH1.'
SQL injection
KING' or 1=1--
Cross-site scripting (XSS)
❖ In a XSS attack, a web application is sent a script that activates
when it is read by a user's browser. Once activated, these scripts
can steal data, even session credentials, and return the information
to the attacker.
Many Types of XSS
❖ Stored XSS
❖ JavaScript in database
❖ Reflected XSS
❖ Embedded JavaScript in URL request
❖ Stored XSS in uploaded files
❖ HTML, Text file with .jpg extension, etc.
Escaping substitution strings
❖ apex_escape.html()
❖ Escape special characters attribute: YES
Protecting Regions
❖ #COLUMN!HTML#- Escapes reserved HTML characters.
❖ #COLUMN!ATTR#- Escapes reserved characters in a HTML attribute context.
❖ #COLUMN!JS#- Escapes reserved characters in a JavaScript context.
❖ #COLUMN!RAW#- Preserves the original item value and does not escape
characters.
❖ #COLUMN!STRIPHTML#- Removes HTML tags from the output and escapes
reserved HTML characters.
Data Protection (Client)
❖ Data encryption in Session State
❖ Encrypt locally stored data (on device)
Other tools
❖ Database Vault
❖ Audit Vault
❖ Database Firewall
❖ Label Security
❖ Virus Scanners (include in ORDS)
❖ …
Q&A
www.apexRnD.be
dgielis.blogspot.com
@dgielis
dgielis@apexRnD.be
❖ Looking for consulting, training and development in Oracle
Application Express (APEX)?
❖ Contact : www.apexRnD.be
❖ Mail : info@apexRnD.be
Consulting, Development, Training

More Related Content

PPTX
JPA For Beginner's
PDF
Apache Spark Data Validation
PDF
Lessons from the Field: Applying Best Practices to Your Apache Spark Applicat...
PPT
Java Persistence API (JPA) Step By Step
PDF
Introducing Neo4j
PDF
Crud tutorial en
PDF
PostgreSQL Tutorial For Beginners | Edureka
PPTX
Spring Security 5
JPA For Beginner's
Apache Spark Data Validation
Lessons from the Field: Applying Best Practices to Your Apache Spark Applicat...
Java Persistence API (JPA) Step By Step
Introducing Neo4j
Crud tutorial en
PostgreSQL Tutorial For Beginners | Edureka
Spring Security 5

What's hot (20)

PDF
RESTful Web Services
PDF
Incremental View Maintenance with Coral, DBT, and Iceberg
PDF
Spring Security
PDF
Scalability, Availability & Stability Patterns
ODP
Introduction to Java 8
PPT
Java oops PPT
PPTX
Java 8 presentation
PDF
Spring Data JPA
PPTX
Apache Atlas: Why Big Data Management Requires Hierarchical Taxonomies
PPTX
Java Spring Framework
PPTX
Introduction to ML with Apache Spark MLlib
PDF
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
PDF
Présentation de Apache Zookeeper
PDF
Spring Data JPA from 0-100 in 60 minutes
PPTX
iceberg introduction.pptx
PDF
Pyspark Tutorial | Introduction to Apache Spark with Python | PySpark Trainin...
PPT
Spring Framework
PPTX
JDBC - JPA - Spring Data
PDF
java.io - streams and files
PPTX
Spring boot
RESTful Web Services
Incremental View Maintenance with Coral, DBT, and Iceberg
Spring Security
Scalability, Availability & Stability Patterns
Introduction to Java 8
Java oops PPT
Java 8 presentation
Spring Data JPA
Apache Atlas: Why Big Data Management Requires Hierarchical Taxonomies
Java Spring Framework
Introduction to ML with Apache Spark MLlib
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
Présentation de Apache Zookeeper
Spring Data JPA from 0-100 in 60 minutes
iceberg introduction.pptx
Pyspark Tutorial | Introduction to Apache Spark with Python | PySpark Trainin...
Spring Framework
JDBC - JPA - Spring Data
java.io - streams and files
Spring boot
Ad

Viewers also liked (20)

PDF
How to make APEX print through Node.js
PDF
APEX 5 Demo and Best Practices
PDF
Service Workers and APEX
PDF
Real Application Security (RAS) and Oracle Application Express (APEX)
PPTX
APEX Dashboard Competition - Winners
PDF
APEX Wearables
PPTX
Top 10 HTML5 features every developer should know!
PPTX
5 x HTML5 worth using in APEX (5)
PPT
Apex RnD APEX 5 - Printing
PDF
Advanced Reporting And Charting With Oracle Application Express 4.0
PDF
Controlling execution plans 2014
PDF
Apex day 1.0 oracle apex 5.0 patrick wolf
PDF
5 Cool Things you can do with HTML5 and APEX
PPTX
PDB Provisioning with Oracle Multitenant Self Service Application
PPTX
Building a Flexible UI with Oracle ApEx
PDF
Offline Web with Oracle JET
PPTX
APEX connects Jira
PDF
Jsf2 html5-jazoon
PPTX
Oracle APEX Performance
PDF
Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
How to make APEX print through Node.js
APEX 5 Demo and Best Practices
Service Workers and APEX
Real Application Security (RAS) and Oracle Application Express (APEX)
APEX Dashboard Competition - Winners
APEX Wearables
Top 10 HTML5 features every developer should know!
5 x HTML5 worth using in APEX (5)
Apex RnD APEX 5 - Printing
Advanced Reporting And Charting With Oracle Application Express 4.0
Controlling execution plans 2014
Apex day 1.0 oracle apex 5.0 patrick wolf
5 Cool Things you can do with HTML5 and APEX
PDB Provisioning with Oracle Multitenant Self Service Application
Building a Flexible UI with Oracle ApEx
Offline Web with Oracle JET
APEX connects Jira
Jsf2 html5-jazoon
Oracle APEX Performance
Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
Ad

Similar to APEX Security 101 (20)

PPSX
apex security demo.ppsx
PDF
APEX Security Primer
PPTX
Force.com security
PDF
SAP security made easy
PDF
Secure Salesforce: Common Secure Coding Mistakes
PDF
Breaking, forensicating and anti-forensicating SAP Portal and J2EE Engine
PPTX
OWASP Top 10 2021 What's New
PDF
Owasp top 10_openwest_2019
PPT
Web Apps Security
PDF
Security .NET.pdf
PDF
OWASP Top 10 - The Ten Most Critical Web Application Security Risks
PDF
Oracle ADF Architecture TV - Design - Designing for Security
PPTX
Innovations dbsec-12c-pub
PDF
Getting Started with Oracle APEX
PDF
Secure Salesforce: Hardened Apps with the Mobile SDK
PDF
Secure software development presentation
PDF
Access Denied: Real-World Use Cases for APEX and Real Application Security
PPTX
Owasp Top 10 2017
PDF
Making Sense of APEX Security by Christoph Ruepprich
PDF
OWASP Top 10
apex security demo.ppsx
APEX Security Primer
Force.com security
SAP security made easy
Secure Salesforce: Common Secure Coding Mistakes
Breaking, forensicating and anti-forensicating SAP Portal and J2EE Engine
OWASP Top 10 2021 What's New
Owasp top 10_openwest_2019
Web Apps Security
Security .NET.pdf
OWASP Top 10 - The Ten Most Critical Web Application Security Risks
Oracle ADF Architecture TV - Design - Designing for Security
Innovations dbsec-12c-pub
Getting Started with Oracle APEX
Secure Salesforce: Hardened Apps with the Mobile SDK
Secure software development presentation
Access Denied: Real-World Use Cases for APEX and Real Application Security
Owasp Top 10 2017
Making Sense of APEX Security by Christoph Ruepprich
OWASP Top 10

More from Dimitri Gielis (14)

PDF
Bring the light in your Always FREE Oracle Cloud
PPTX
APEX Office Print (AOP)
PDF
REST Web Service? No, GraphQL please!
PDF
Can You Do That with APEX? Building Not So Straightforward Pages
PDF
Bringing Virtual Reality (VR) and Augmented Reality (AR) to APEX
PDF
Oracle APEX Cheat Sheet
PDF
Reporting with Oracle Application Express (APEX)
PDF
Moving your APEX app to the Oracle Exadata Express Cloud
PDF
Oracle APEX for Beginners
PDF
JavaScript straight from the Oracle Database
PDF
APEX Office Print
PDF
Moving to the APEX Listener
PDF
A Primer on Web Components in APEX
PDF
Oracle Application Express (APEX) and Microsoft Sharepoint integration
Bring the light in your Always FREE Oracle Cloud
APEX Office Print (AOP)
REST Web Service? No, GraphQL please!
Can You Do That with APEX? Building Not So Straightforward Pages
Bringing Virtual Reality (VR) and Augmented Reality (AR) to APEX
Oracle APEX Cheat Sheet
Reporting with Oracle Application Express (APEX)
Moving your APEX app to the Oracle Exadata Express Cloud
Oracle APEX for Beginners
JavaScript straight from the Oracle Database
APEX Office Print
Moving to the APEX Listener
A Primer on Web Components in APEX
Oracle Application Express (APEX) and Microsoft Sharepoint integration

Recently uploaded (20)

PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Five Habits of High-Impact Board Members
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Architecture types and enterprise applications.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Benefits of Physical activity for teenagers.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
Modernising the Digital Integration Hub
DOCX
search engine optimization ppt fir known well about this
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
A review of recent deep learning applications in wood surface defect identifi...
Five Habits of High-Impact Board Members
Hindi spoken digit analysis for native and non-native speakers
Enhancing emotion recognition model for a student engagement use case through...
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
DP Operators-handbook-extract for the Mautical Institute
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
A novel scalable deep ensemble learning framework for big data classification...
Architecture types and enterprise applications.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
Taming the Chaos: How to Turn Unstructured Data into Decisions
Group 1 Presentation -Planning and Decision Making .pptx
Getting Started with Data Integration: FME Form 101
Benefits of Physical activity for teenagers.pptx
Chapter 5: Probability Theory and Statistics
Modernising the Digital Integration Hub
search engine optimization ppt fir known well about this
Univ-Connecticut-ChatGPT-Presentaion.pdf
Assigned Numbers - 2025 - Bluetooth® Document

APEX Security 101