Skip to Content
Hands-On Oracle Application Express Security
book

Hands-On Oracle Application Express Security

by Recx
April 2013
Intermediate to advanced
108 pages
3h 1m
English
Wiley
Content preview from Hands-On Oracle Application Express Security

Chapter 4

Item Protection

Items in APEX are defined on pages, or as shared components that have application or global scope (we’ll call these application items). Page items can also be considered as form items, because each item type is represented by an HTML element (text box, select list, hidden). Application items are not form items, and could be thought of as server-side variables.

Item values are stored in session state, and their values persist while the user has a valid session. The values for items can be set within the item definition, giving a default value. The values can change due to user requests (such as a form submission) or due to server-side PL/SQL code (for example, in a process). Users can set any item within the application, but can only read item values for items that are presented within a page, or that are disclosed purposely by the developer in other ways (such as via an Ajax call).

Unless an item is initialized on a page, it will have the current value from session state; the value for an item that is set on one page can be accessed by any other page (within the same session).

THE PROBLEM

In older versions of APEX, all items were unprotected and could be set by a user either via the URL or via an HTTP Post request such as submitting an HTML form. This could be relatively dangerous, depending on the behavior of the application. It is possible to write a secure application without protecting any items, as long as the values for items are sufficiently validated ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Expert Oracle Application Express Security

Expert Oracle Application Express Security

Scott Spendolini
Applied Oracle Security: Developing Secure Database and Middleware Environments

Applied Oracle Security: Developing Secure Database and Middleware Environments

David Knox, Scott Gaetjen, Hamza Jahangir, Tyler Muth, Patrick Sack, Richard Wark, Bryan Wise

Publisher Resources

ISBN: 9781118686133Purchase Link