About TDE encryption feature of oracle

Hi All,
I am facing problems while checking this feature of Encryption,
I created in database1, table1 with user1, coulum1 in the table1 was with encrypt keyword as follows.
create table table1(ID number(3), PHONE number(11) encrypt);
Inserted some rows and selected those rows, it shows them successfully, Ideally it should show the actual data for user1.
gave the select permission to user2 from user1 for table1 as follows:
grant select on table1 to user2;
Now logged in with user2 to same database1.
now when I query the database for table1 as follows:
select * from database1.table1;
It shows all the rows successfully, Ideally it should NOT show the actual data for user2.
Can someone please tell me the solution or explain me the procedure to test it properly.
Thanks in advance,
Nikhil Joshi.

TDE encrypts data when it is on disk "at rest". If a user has SELECT access to the data in question, TDE will transparently (hence the T) decrypt the data. TDE will never present any user with encrypted data-- either the user does not have privileges to select the data in the first place or they do and TDE will decrypt it.
If you want to limit what data a particular user can access, you'd either want to do that conventionally by, for example, creating a view on the table that does not have the phone number and only granting access on that view to user2. Or, assuming you're using 11.2, you could create a VPD policy that limits what columns a particular user can see. A VPD policy would generally make sense if you wanted to allow user2 to see the phone number for some rows but not others.
Justin

Similar Messages

  • Meaning of Auto Accounting feature in Oracle Projects

    Dear All,
    Can someone explain me about the Autoaccounting feature in Oracle Projects. How to configure it based on the business requirment.
    Please share if you have any documents on explaining this feature. Please forward me to - [email protected]
    Thanks,
    Arvind

    Pl see if MOS Doc 552086.1 (AutoAccounting Frequently Asked Questions (FAQ's)) answers your questions
    HTH
    Srini

  • About Multi_language features of Oracle Text.

    I have a customer who has to store into one table docs in different languages and
    use contains index to perform some text search.
    He would like to use the multi_language feature of Oracle Text.
    The database we are using is Oracle 10gR2
    We create a table with doc and language column, and then we have to create the context index.
    In documentation I found some info's about how set different lexer (MULTI_LEXER) for language that have different lexer,
    different stoplist (MULTI_STOPLIST) for different languages stop words,
    but I don't understand if it
    is possible use the stemmer features for different languages, and if there are some other features that I can set for using multi_language properties.
    Thank you in advance
    Paola

    According to the online documentation: "The Oracle Text stemmer, licensed from Xerox Corporation's XSoft Division, supports the following languages with the BASIC_LEXER: English, French, Spanish, Italian, German, and Dutch. Japanese stemming is supported with the JAPANESE_LEXER."
    Please see the demonstration below. Also, if you are using 10g, you can specify the language in the query, instead of changing the language for the session. 10g also has a world_lexer.
    scott@ORA92> CREATE TABLE your_table
      2    (id         NUMBER,
      3       doc         CLOB,
      4       lang         VARCHAR2 (3),
      5       CONSTRAINT  your_table_id_pk PRIMARY KEY (id))
      6  /
    Table created.
    scott@ORA92> INSERT ALL
      2  INTO your_table VALUES (1, 'They say only the good die young.', 'eng')
      3  INTO your_table VALUES (2, 'The dogs like the cats.',          'eng')
      4  INTO your_table VALUES (3, 'cats and dogs',               'eng')
      5  INTO your_table VALUES (4, 'cat and dog',                    'eng')
      6  INTO your_table VALUES (5, 'chats et chiens',               'fre')
      7  INTO your_table VALUES (6, 'chat et chien',               'fre')
      8  INTO your_table VALUES (7, 'Die Hunde mögen die Katzen',          'ger')
      9  INTO your_table VALUES (8, 'Katzen und Hunde',               'ger')
    10  INTO your_table VALUES (9, 'Katze und Hund',               'ger')
    11  SELECT * FROM DUAL
    12  /
    9 rows created.
    scott@ORA92> BEGIN
      2    ctx_ddl.create_preference ('english_lexer','basic_lexer');
      3    ctx_ddl.set_attribute      ('english_lexer','index_themes','yes');
      4    ctx_ddl.set_attribute      ('english_lexer','theme_language','english');
      5 
      6    ctx_ddl.create_preference ('french_lexer','basic_lexer');
      7    ctx_ddl.set_attribute      ('french_lexer','index_themes','yes');
      8    ctx_ddl.set_attribute      ('french_lexer','theme_language','french');
      9 
    10    ctx_ddl.create_preference ('german_lexer','basic_lexer');
    11    ctx_ddl.set_attribute      ('german_lexer','composite','german');
    12    ctx_ddl.set_attribute      ('german_lexer','alternate_spelling','german');
    13 
    14    CTX_DDL.CREATE_PREFERENCE ('global_lexer', 'MULTI_LEXER');
    15    ctx_ddl.add_sub_lexer      ('global_lexer','english','english_lexer', 'eng');
    16    ctx_ddl.add_sub_lexer      ('global_lexer','french','french_lexer', 'fre');
    17    ctx_ddl.add_sub_lexer      ('global_lexer','german','german_lexer','ger');
    18    ctx_ddl.add_sub_lexer      ('global_lexer','default','english_lexer');
    19 
    20    CTX_DDL.CREATE_STOPLIST ('global_stoplist', 'MULTI_STOPLIST');
    21    CTX_DDL.ADD_STOPWORD    ('global_stoplist', 'and', 'english');
    22    CTX_DDL.ADD_STOPWORD    ('global_stoplist', 'und', 'german');
    23    CTX_DDL.ADD_STOPWORD    ('global_stoplist', 'et', 'french');
    24    CTX_DDL.ADD_STOPWORD    ('global_stoplist', 'the', 'ALL');
    25    CTX_DDL.ADD_STOPWORD    ('global_stoplist', 'die', 'german');
    26  END;
    27  /
    PL/SQL procedure successfully completed.
    scott@ORA92> CREATE INDEX your_table_doc_idx
      2  ON your_table (doc)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  PARAMETERS
      5    ('LEXER           global_lexer
      6        LANGUAGE COLUMN lang
      7        STOPLIST      global_stoplist')
      8  /
    Index created.
    scott@ORA92> ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
      2  /
    Session altered.
    scott@ORA92> SELECT * FROM your_table WHERE CONTAINS (doc, 'die') > 0
      2  /
            ID DOC                                                                              LAN
             1 They say only the good die young.                                                eng
    scott@ORA92> SELECT * FROM your_table WHERE CONTAINS (doc, 'cat AND dog') > 0
      2  /
            ID DOC                                                                              LAN
             4 cat and dog                                                                      eng
    scott@ORA92> SELECT * FROM your_table WHERE  CONTAINS (doc, '$cat AND $dog') > 0
      2  /
            ID DOC                                                                              LAN
             4 cat and dog                                                                      eng
             3 cats and dogs                                                                    eng
             2 The dogs like the cats.                                                          eng
    scott@ORA92> ALTER SESSION SET NLS_LANGUAGE = 'FRENCH'
      2  /
    Session altered.
    scott@ORA92> SELECT * FROM your_table WHERE CONTAINS (doc, 'chat AND chien') > 0
      2  /
            ID DOC                                                                              LAN
             6 chat et chien                                                                    fre
    scott@ORA92> SELECT * FROM your_table WHERE  CONTAINS (doc, '$chat AND $chien') > 0
      2  /
            ID DOC                                                                              LAN
             6 chat et chien                                                                    fre
             5 chats et chiens                                                                  fre
    scott@ORA92> ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
      2  /
    Session altered.
    scott@ORA92> SELECT * FROM your_table WHERE CONTAINS (doc, 'Die') > 0
      2  /
    no rows selected
    scott@ORA92> SELECT * FROM your_table WHERE CONTAINS (doc, 'Katze AND Hund') > 0
      2  /
            ID DOC                                                                              LAN
             9 Katze und Hund                                                                   gerMessage was edited by:
    Barbara Boehmer

  • Approach for Oracle's TDE encryption.

    Hello experts,
    We are in the process of encrypting our HCM Databaseu2026
    We are looking to encrypt such details as Social insurance number, First name, Last name, Date of birth, Base
    salary, Email addressu2026.etc
    Question is, do we encrypt at the table/column level (multitude of tables) or at the
    package level?
    Please suggest?
    Thanks in advance.
    Regards,
    Iqbal

    Hi ,
    You may refer SAP Note 974876 - Transparent Data Encryption (TDE)
    It contains all information about TDE and pointers to configuration.
    Regards,
    Deepak Kori

  • Encrypted column in Oracle 9i

    how can Encrypted column in Oracle 9i?
    Oracle 9i (9.2.0.8)
    Windows 2003 32bit

    You can encrypt column data in Oracle 9i using the provided Oracle encryption package: DBMS_OBFUSCATION_TOOLKIT
    This makes encryption and decryption an application/code feature rather than the true database feature, transparent data encryption, provided in 10g and mentioned by oradba.
    10g also provides the superior DBMS_CRYPTO package where you need column level encryption of the data since TDE by itself often does not provide enough security to meet requirements for sensitive data.
    HTH -- Mark D Powell --

  • Send encrypted data from oracle 11g to Ms SQL Server 12

    Hi every body,
    we want to send encrypted data from oracle 11g to Ms SQL Server 12:
    - data are encrypted to oracle
    - data should be sent encrypted to Ms SQL server
    - data will be decrypted in Ms SQL server by sensitive users.
    How can we do this senario, any one has contact simlare senario?
    can we use asymetric encription to do this senario?
    Please Help!!
    Thanks in advance.

    Hi,
      What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway.  There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
    If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
    SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
    INSERT SCOTT.EMP@MSQL -
    USING SELECT * FROM EMP
    There is further information in this note available on My Oracle Support -
    Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
    However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
    There is no specific documentation about the gateways and TDE.  TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
    The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
    Regards,
    Mike

  • TDE (Encryption) and expdp (Datapump)

    Hi,
    I'm testing TDE's features on an Oracle 10g R2 database. I edit the sqlnet.ora then I created a wallet on database 1 (DEV1), a table, did inserts, pumped (expdp) data and tried re-import it in another database (DEV2) which I use with DataGuard for failover, but something went wrong. So I try re-create my wallet on the first database (DEV1) by alter system set wallet close and delete it from my hard drive and drop table purge. I went trought the whole process of creating the wallet and table but when I tried expdp I got the ORA-28362 master key not found.
    How could I not be able to export my data ? What can I do to do a clean deletion of the wallet and recreate it ?
    Thanks for you help
    Francis

    Thank you,
    but I already read those pages and understand them. But as I said, even though I delete and recreate the wallet, I can't get datapump to extract data with the ENCRYPTION_PASSWORD parameter. If I don't put this parameter everything is ok! but the data is not encrypted.

  • 1Z0-045: Oracle Database 10g: New Features for Oracle 8i OCPs

    Hi,
    I was looking for right reference book for the 1z0-045 upgrade certification. I could not find any reference book that is related to this certification. Only one book have found out on Amazon site, which is "OCP Oracle Database 10g: New Features for Administrators Exam Guide (Oracle Press) (Paperback)" published by McGraw Hill.
    But this book does not show exem number 1z0-045 anywhere. So I am not sure, is it a right book to buy.
    Please let me know if any one has any knowledge about that.
    I appreciate for your information.
    Thanks
    Amit

    The book you mention is for those individuals who are upgrading their 9i OCP to the 10g OCP. Since you are apparently upgrading from 8i OCP, there is possibly a gap in your learning. You might want to take a look at OCP Oracle9i Database: New Features for Administrators Exam Guide (Paperback) which explains the new features for Oracle 9i to someone coming from an 8i background. No additional exam would be needed in your case but this book may help to fill out your knowledge a bit. You could also take a look at http://download.oracle.com/docs/cd/B10501_01/server.920/a96531/toc.htm if you would rather not buy an additional book.
    Tom

  • Email & sms notification feature from oracle enterprise manager ??

    Hi All,
    Is there Email & sms notification feature from oracle enterprise manager ?? not by grid control, i m talking about dbconsole.
    pleas.. response
    Thanks

    Thanks for response,
    sorry to say i m not happy with the link, i already mentioned that , not in grid control, we have Oracle enterprise manager for 11gr2 2 Node RAc, not grid control
    please

  • Comparing performance between TDE encryption and no encryption

    Hi all,
    How can i check, how much database resource (%CPU, Time elapsed) increased when using TDE encryption.
    Thank you!
    Dan.
    Edited by: Dan on Jul 10, 2011 10:13 PM

    The performance implications of using TDE are going to depend on a number of factors including
    - The version of Oracle
    - The hardware available (in particular whether hardware acceleration is available for encryption)
    - Whether you are using tablespace encryption or column-level encryption
    - If you are using column-level encryption how many columns you are encrypting
    - What sort of workload your system is doing.
    - Where your system bottlenecks today without encryption
    Without knowing those things, it's hard to narrow down the answer to somewhere between 0 and 50% which is, obviously, far too large a range to be meaningful.
    On the one hand, the worst case is probably represented by this test case where you're using column-level encryption of one column of a two column table in 10.2 and doing single-row inserts and deletes. Those operations are already heavily CPU bound and, since you're using column-level encryption, the data has to be encrypted and decrypted every time it goes into or out of the SGA. If you were using tablespace-level encryption, the data would only need to be encrypted and decrypted when it is read from or written to the disk which would be far faster in for this test case. Later versions of Oracle also tend to be more efficient.
    On the other hand, if you're using 11.2 with the most recent patches and you've got hardware acceleration, Oracle is happy to trumpet the [urlhttp://www.oracle.com/technetwork/database/options/advanced-security/index-099011.html]near-zero performance impact of TDE.
    Most people live somewhere between these two extremes but it's hard to guess where your particular application falls. I would guess that most people would see something like a 10-15% increase in CPU consumption but that's just a wild guess based on a relatively small sample of systems.
    Justin

  • Question about Object Oriented Design in Oracle

    Hi everyone,
    Right now I'm updating my oracle skills, years ago without programming (last time with Oracle 7.3 :O)
    Well, if I have to design a new system with this features:
    1.- Using Oracle as DB
    2.- Web enable
    3.- OO Design
    My questions:
    1.- What is the best practice to make database design? E-R + Object Types? I mean is better making the design on Oracle directly or in Java-UML environment?
    2.- I was thinking in programming with Forms, but it works well with OO design?
    3.- If I want to program some web services based, Could I do it with PL/SQL and Jdeveloper?
    please if you know about articles and whitepapers about OO design approach with Oracle let me know!
    Thanks.

    I have been involved in some of these projects that have used Java, C#, VB, C++ etc. as front-end languagaes. I have been able to implement these projects successfully using the following approach:
    1. create a relational model of the database - third-normal form (assuming it is an OLTP application)
    2. Write PL/SQL code (packages and procedures mainly)
    3. Interact with the front-end layer by sending and receiving ref curosors and/or PL/SQL tables
    If you want to use Forms (I am assuming Oracle Forms) then there may not be much need for an OO design. Embeeding SQL in the forms will do most of what you want.
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Just brought home newly purchased MacBook Pro 15"/Maverick/Retinal Display. To my astonishment, there is NO DVD slot! No one in the store told me about this missing feature. Intolerable, How does one install software? Insert CDs to copy for iTunes?Do I ha

    Just brought home newly purchased MacBook Pro 15"/Maverick/Retinal Display. To my astonishment, there is NO DVD slot! No one in the store told me about this missing feature. Intolerable, How does one install software? Insert CDs to copy for iTunes?Do I have to purchase an external DVD drive? Is one even available? What a crock!

    I’ve owned Macs since 1990 (IICX my first), mostly desktops. Having had DVD/CD drives in all my previous laptop Macs since 2001 -  (2) G4 Powerbooks,  A 17” Mac Book Pro - and also inspecting a friend’s year-old Mac Book Pro which had the DVD slot - unless someone told me at purchase, I had no reason to know that the Retina display version of the 15” had NO DVD drive. ANYHOW, I fully intended to buy the non-Retina display version, because it was cheaper. Unfortunately by the time I got to the Apple store they were no longer selling the non-Retina display version; all versions were ONLY with the Retina display. And the fine distinction of a DVD vs. a non-DVD drive was not pointed out. So now I have to shell out an additional $80 bucks for an external SuperDrive.

  • What are the new features of Oracle 10g over Oracle9i

    Hi Grus..
    i want to know what are the new features of oracle 10g over Oracle 9i as well oracle 11g over 10g.. can any one give me the detailed document.
    Because I'm struggling each and every time while the interviewer asked above question.
    It's very helpful for me if any one give me the detailed document regarding above question
    Thanks In Advance
    Arun
    Edited by: Arun on Oct 23, 2010 10:19 AM

    Hi,
    Just check below link..would be helpful..
    http://www.oracle.com/global/ap/openworld/ppt_download/database_manageability%2011g%20overview_230.pdf
    and
    Each release of Oracle has many differences, and Oracle 10g is a major re-write of the Oracle kernel from Oracle 9i. While there are several hundred new features and other differences between 9i and 10g, here are the major differences between Oracle9i and Oracle10g:
    Major changes to SQL optimizer internals
    Oracle Grid computing
    AWR and ASH tables incorporated into Oracle Performance Pack and Diagnostic Pack options
    Automated Session History (ASH) materializes the Oracle Wait Interface over time
    Data Pump replaces imp utility with impdp
    Automatic Database Diagnostic Monitor (ADDM)
    SQLTuning Advisor
    SQLAccess Advisor
    Rolling database upgrades (using Oracle10g RAC)
    dbms_scheduler package replaces dbms_job for scheduling
    and you need to refer oracle documentation for sql, plsql references where you will know particular enhancements made...
    thanks
    Prasanth
    Edited by: Onenessboy on Oct 23, 2010 10:22 AM

  • New features for oracle 10g DBA

    hi all,
    i want to download new features for oracle 10g dba in free, but i cant found it free.so if somebody know anylink which provide it free or if somebody have it.plz let me know.i need it on urgent basis.
    Ihsan DBA from Pak

    http://www.oracle.com/pls/db102/to_toc?pathname=server.102%2Fb14214%2Ftoc.htm&remark=portal+%28Getting+Started%29
    Could you not download from here?

  • New features for Oracle Assets in Apps 12i

    What are the new features for Oracle Assets in Apps version 12i?
    where can i find User Guide for FA in Aps 12i?

    You could check Appendix A of the Oracle Applications Upgrade Guide for 11i to Release 12:
    http://download-east.oracle.com/docs/cd/B34956_01/current/acrobat/r12upg11i.zip
    Assets module is discussed on page A-2.
    Also, you can find the Fixed Assets Users Guide for R12 at the link that hsawwan provided.

Maybe you are looking for