Reader small image

You're reading from  Oracle Advanced PL/SQL Developer Professional Guide

Product typeBook
Published inMay 2012
Reading LevelExpert
PublisherPackt
ISBN-139781849687225
Edition1st Edition
Languages
Right arrow
Author (1)
Saurabh K. Gupta
Saurabh K. Gupta
author image
Saurabh K. Gupta

Saurabh K. Gupta is a seasoned database technologist with extensive experience in designing high performance and highly available database applications. His technology focus has been centered around Oracle Database architecture, Oracle Cloud platform, Database In-Memory, Database Consolidation, Multitenant, Exadata, Big Data, and Hadoop. He has authored the first edition of this book. He is an active speaker at technical conferences from Oracle Technology Network, IOUG Collaborate'15, AIOUG Sangam, and Tech Days. Connect with him on his twitter handle (or SAURABHKG) or through his technical blog www.sbhoracle. wordpress.com, with comments, suggestions, and feedback regarding this book.
Read more about Saurabh K. Gupta

Right arrow

Practice exercise


  1. Which method would you employ to immunize the PL/SQL code against SQL Injection attacks?

    1. Replace Dynamic SQLs with Static SQLs.

    2. Replace concatenated inputs in Dynamic SQL with binds arguments.

    3. Declare the PL/SQL program to be executed by its invoker's rights.

    4. Removing string type parameters from the procedure.

  2. Use static SQL to avoid SQL injection when all Oracle identifiers are known at the time of code execution.

    1. True

    2. False

  3. Choose the impact of SQL injection attacks:

    1. Malicious string inputs can extract confidential information.

    2. Unauthorized access can drop a database.

    3. It can insert ORDER data in EMPLOYEES table.

    4. A procedure executed with owners' (SYS) rights can change the password of a user.

  4. Pick the correct strategies to fight against of SQL injection

    1. Sanitize the malicious inputs from the application layer with DBMS_ASSERT.

    2. Remove string concatenated inputs from the Oracle subprogram.

    3. Dynamic SQL should be removed from the stage.

    4. Execute a PL/SQL program with its creator's rights.

  5. Statistical...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Oracle Advanced PL/SQL Developer Professional Guide
Published in: May 2012Publisher: PacktISBN-13: 9781849687225

Author (1)

author image
Saurabh K. Gupta

Saurabh K. Gupta is a seasoned database technologist with extensive experience in designing high performance and highly available database applications. His technology focus has been centered around Oracle Database architecture, Oracle Cloud platform, Database In-Memory, Database Consolidation, Multitenant, Exadata, Big Data, and Hadoop. He has authored the first edition of this book. He is an active speaker at technical conferences from Oracle Technology Network, IOUG Collaborate'15, AIOUG Sangam, and Tech Days. Connect with him on his twitter handle (or SAURABHKG) or through his technical blog www.sbhoracle. wordpress.com, with comments, suggestions, and feedback regarding this book.
Read more about Saurabh K. Gupta