How to make export with sensitive user data encrypted?
My organization need a backup dump of prod database sent to a customer, but want me to encrypt some user's password, and some data.
Which expdp parameter can do that?
Or any way I can do that ?
Thanks in advance.
To show you how export and import be encrypted at very basic level here is an example of exporting schema rmanencrypt from database orcl (source) to devorcl (target database)
Encrypted export of schema "rmanencrypt"
Source Database
[oracle@localhost ~]$ expdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp schemas=rmanencrypt LOGFILE=encrypted.log ENCRYPTION=ALL ENCRYPTION_PASSWORD=foobar
Export: Release 11.2.0.3.0 - Production on Wed Jan 11 11:21:47 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYS"."SYS_EXPORT_SCHEMA_01": "/******** AS SYSDBA" DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp schemas=rmanencrypt LOGFILE=encrypted.log ENCRYPTION=ALL ENCRYPTION_PASSWORD=********
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
. . exported "RMANENCRYPT"."D" 5.945 KB 4 rows
. . exported "RMANENCRYPT"."E" 8.578 KB 14 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
/home/oracle/app/oracle/admin/orcl/dpdump/encrypted.dmp
Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:22:36At Target Database this schema doesn't exists.
SQL> r
1 select username from dba_users
2* where username='RMANENCRYPT'
no rows selectedNow importing the backup first by giving a wrong password.
[oracle@localhost dpdump]$ impdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=fooba
Import: Release 11.2.0.3.0 - Production on Wed Jan 11 11:27:31 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39176: Encryption password is incorrect.Now with correct password
[oracle@localhost dpdump]$ impdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=foobar
Import: Release 11.2.0.3.0 - Production on Wed Jan 11 11:27:47 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_FULL_01": "/******** AS SYSDBA" DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=********
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "RMANENCRYPT"."D" 5.945 KB 4 rows
. . imported "RMANENCRYPT"."E" 8.578 KB 14 rows
Job "SYS"."SYS_IMPORT_FULL_01" successfully completed at 11:27:58
SQL> conn rmanencrypt/rmanencrypt
Connected.
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
D TABLE
E TABLEHTH.
Regards,
NC
Similar Messages
-
Sql Devloper 4.0.0.13 - problems with displaying user data types
Hi,
I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
The problem persist in table view, script output and exported files.
My type is described as follows:
create or replace TYPE "DPTY_ADRESA" AS OBJECT
ID_DPSF_OPCINE NUMBER,
ID_DPSF_MJESTA NUMBER,
OPCINA VARCHAR2(100),
MJESTO VARCHAR2(100),
ULICA VARCHAR2(200),
BROJ VARCHAR2(20),
SPRAT VARCHAR2(20),
OSTALO VARCHAR2(100),
CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
when make select column from table that contains this type I get next results:
CASE 1:
SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
Select:
select id, adresalokacija
from dptr_saglasnosti
where id = 1;
Result:
ID ADRESALOKACIJA
1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
END CASE 1;
CASE 2:
SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
Select1:
select id, adresalokacija
from dptr_saglasnosti
where id = 1;
Result1:
ID ADRESALOKACIJA
1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)
But if I select one element it is displayed normal.
Select2:
select id, a.adresalokacija.opcina
from dptr_saglasnosti a
where id = 1;
Result2:
ID ADRESALOKACIJA.OPCINA
1 TRAVNIK
END CASE 2;
I have tried this scenario on three different pc with same output.
Pleas help me to get rid of the '???' in result.
Best Regards,
OmerI tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
all data can show,No ??? in result
Test step as following:
create or replace TYPE "DPTY_ADRESA" AS OBJECT
ID_DPSF_OPCINE NUMBER,
ID_DPSF_MJESTA NUMBER,
OPCINA VARCHAR2(100),
MJESTO VARCHAR2(100),
ULICA VARCHAR2(200),
BROJ VARCHAR2(20),
SPRAT VARCHAR2(20),
OSTALO VARCHAR2(100),
CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
CREATE TABLE dptr_saglasnosti (
adresalokacija DPTY_ADRESA,
id number);
INSERT INTO dptr_saglasnosti VALUES (
DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
select id, adresalokacija from dptr_saglasnosti where id = 1;
ID ADRESALOKACIJA
1 HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta') -
How does Essbase deals with multi-users
How does Essbase deals with multi-users connecting for reading and writing in the same time? How the global coherence of the database is controlled when users are updating dimension and data all together?
For reading, Essbase handles multiple requests concurrently. For metadata (outline) only one user at a time can make and save changes.For data, Essbase uses a block level locking mechanism, which implies that an update to a block can only be done by a single update request, but other blocks in the database are still updateable by other users.Hope that helps.Regards,Jade---------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]
-
I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
THANK YOU!!You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
You need to get a new computer or a refurbished one. -
iPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update
I use Firefox 95% of the time, and there's no problem with flash content (and I'm still at .55 - downloaded .64 last week but I haven't got round to making the change yet). At the rate they've been changing it recently it may well be out of date already .
I've been trying it in Safari, too with no problems apart from You Tube, but that's because I'm blocking Google cookies.
One thought does occur - if your Flash preferences are set to block all Local Storage, it may be that the problem site is trying to use Flash cookies (LSOs). I had this problem recently with the BBC iPlayer streaming content. Little Snitch notified an attempt to connect to a new URL - emp.bbci.co.uk.
If I disallowed it, no streaming; when I allowed the connection, it still wouldn't stream, so I did a bit of digging and came to the conclusion that it was trying to set a Flash cookie. When I unblocked, lo and behold - streaming resumed as normal.
I now have LSOs blocked in a more subtle way that lets the site think it's being set (but it ain't) and the streaming still works.
As for permissions repair - always repair from local; the permissions on the original disc will have been superceded by updates and new installations of Apple software.
DU needs to be reading the packages on the HD, not the (now out of date) install disc.
The recurring repair messages are normal and don't mean anything's wrong. As long as the final message is 'repair complete' there's no need to dwell on it.
http://support.apple.com/kb/TS1448 (for Leopard and Snow Leopard - Lion no doubt has it's own set). -
How to make touchpad Be sensitive to all areas of his
hi
i have Lenovo x201 and i have problem.
how to make touchpad Be sensitive to all areas of his ?
for example, the top area not responding if i drag my finger
from the top to bottom - but if i drag my finger from the middle to bottom its works fine.
i need to make the touchpad be sensitive for all his areaHi,
I have already responded for a similar query of yours in this thread. Please change the settings as mentioned and revert if issue persists.
Regards,
Mithun.
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
How to make session invalid when user refresh the page?
How to make session invalid when user refresh the page?
I have a <form> in a JSP file that has another JSP file as an action.
I have main.jsp that has <form> with action.jsp file as an action.
Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
I want to prevent this. -
How to share Pages with other user accounts
How to share "Pages"with other user accounts
When you install it, do it for "Everyone" or in the Admin account.
Peter -
HT2486 how can I export the contact book data to a csv file for editing?
how can I export the contact book data to a csv file for editing?
You can edit a card right in Contacts. No need to export and re-import.
Select a name and on the right side, click the Edit button: -
How to make report with access 2010 from SharePoint Discussion lists 2013
HI,
I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
but instead it is shown as a separate entry in the database.
Anyone can please help?
SAN
Santhiya
SanthiyaHi Santhiya,
I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
Thanks,
Wendy
Wendy Li
TechNet Community Support -
When you change PC how to make connection with iphone and new PC
when you change PC how to make connection with iphone and new PC
Yes, you can do it the same as any other database. The code would be similar.
I'd also suggest you not to use the JDBC ODBC bridge for connection. There are other drivers available for that.
Regards
xH4x0r -
Adobe Reader becomes unresponsive when loading a PDF on a network with redirected user data.
I have a client with redirected user data, including application data, that is experiencing poor performance of Adobe Reader when trying to view PDF's. They are not using roaming profiles but do have redirected user data and documents on a server. One of the client's sites has direct file access to the domain with a small network pipe of 20MB. I expect the slow load of the PDF's but not the actual "application is unresponsive" behavior. If you wait for 10-15 minutes, then it seems to behave okay.
I know that previous versions of adobe reader had problems with redirected data. Here are a couple of the threads I found talking about this issue.
http://forums.adobe.com/thread/754379
http://forums.adobe.com/thread/391738
Does anyone know the official adobe word on their minimum recommended bandwidth requirements for redirected data? Do they not support redirection at all? I have tested Adobe 9,10 and 11 with the same problems. Local files still have problems with redirected user data but local users with local files have no problem. Alternate PDF programs still take time to load the file over the network but do not seem to have the application hang problems. Any ideas or suggestions?in AS2, use getURL("data/pdf/nameoffile.pdf",
"_blank"); -
How to run etherape with ordinary user?
hi
when run etherape show this massege:
No capture device found or insufficient privileges.
Only file replay will be available.
EtherApe must be run with administrative privileges (e.g. root) to enable live capture.
Pcap error: no suitable device found
i create group etherape with this ownership
┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
└─[$] <> groupadd etherape
┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
└─[$] <> chgrp etherape /usr/bin/etherape
and add my user to this groups
┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
└─[$] <> usermod -G root,network,http,mysql,dbus,mem,bin,daemon,gdm,audio,video,rfkill,wheel,disk,sys,etherape mostafa
how to run etherape with ordinary user(without root privilege)?
Last edited by mostafasedaghat (2012-02-03 20:37:44)mostafasedaghat wrote:how to run etherape with ordinary user(without root privilege)?
You can't. It requires root to set network card attributes, which can only be set with administrative priviledges. But it should be no problem to start it with sudo. -
How to make JScrollpane not to fetch data while scrollbar is adjusting?
how to make JScrollpane not to fetch data while scrollbar is adjusting?
Hi,
I need to make the jscrollpane get data only when the scrollbar stops scrolling.
for instance if I hold the scrollbar's thumb and drag it to pass 1000 records, I want the view to wait until I release the thumb before taking any action( ex. adjust the view). in other words if the value of getValueIsAdjusting() of scrollbar is true, then the jscrollpsne should wait until it changes to false before doing anything. this is the same approach that Outlook takes when browsing through the list of emails in your mailbox.
I don't know how to solve this issue. any help regarding this issue would be appreciated.
thanks
SabaYou are planning to mention your cross-post(s) somewhere in this post, correct?
-
What modifications are required to make a servlet support SSL data encrypti
Hi,
What modifications are required to make a servlet support SSL data encryption?
--kumarHi,
What modifications are required to make a servlet
support SSL data encryption?
--kumar No modifications are required in servlet. You have to setup servlet container.
Maybe you are looking for
-
No Network given for transaction 0020
While posting invoice (tcode MIRO) against PO, i am having error "No Network Given for transaction 0020". The PO is having account assignment "N" Network and 0020 is the activity number. Any idea how to resolve this. Regards, Shahzad Shakoor
-
Laptop not even a year old and the power cord is stripping really bad and barely working
My toshiba laptop is not even a year old and the part of the cord closest to my computer is becoming really stripped. I noticed that it got very hot during pc use, I just assumed that was normal, but I'm starting to think that this heat made the rubb
-
Does anybody no how to switch off automatic updates on the iphone 5.
Does anybody no how to switch off automatic updates on the iphone 5 many thanks was1521 UK.
-
Function Module SO_OBJECT_SEND_API1
Hi All, In the above Function Module, the exporting parameter DOCUMENT_DATA type SODOCCHGI1 has a field called DOC_SIZE. How important is this parameter and what size is to be assigned and how? How will this affect the final output? Thanks in advance
-
How is NETVAL_FLT calculated in CUHD/CUIT?
Hello, I have been trying to figure out why NETVAL_FLT has a value sometimes but mostly not. I cannot seem to find where it can be calculated. Does anyone know this? Regards, Dean.