Skip to main content

Secure Coding and Design

  • Chapter
  • First Online:
Oracle Database Application Security
  • 553 Accesses

Abstract

You need to design your system to minimize the paths to get to data, keeping only the paths that are needed. As the number of paths to your data increases, your attack surface increases. You also need to separate your data from your code. People have been putting all their code and data in one common schema for more than 30 years now, which is a problem. Additionally, a common problem is when application servers connect to the database as the schema owner. Your secure design and coding practices should always separate data from code and use the PL/SQL features that enforce secure access paths to the data.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    This depends on the privileges of the user executing the SQL injection code. If the user is connected as the application owner, then all bets are off. If the user has the dba or select catalog role, then all bets are off.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Osama Mustafa, Robert P. Lockard

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Mustafa, O., Lockard, R.P. (2019). Secure Coding and Design. In: Oracle Database Application Security. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5367-0_6

Download citation

Publish with us

Policies and ethics