** How to encrypt data when saving it in DB directly?

Hi All,
I want a method to encrypt data in the database when saving it directly
that is when any one enabled to see the data he will see it encrypted!

Hi..
What is the oracle database version???
As you want the users to see the encypted data, the best option is use DBMS_CRYPTO to encrypt the data.
[http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm]
[http://www.oracle-base.com/articles/10g/DatabaseSecurityEnhancements10g.php]
HTH
Anand
Edited by: Anand... on Oct 19, 2009 2:11 PM

Similar Messages

  • How to decrypt data when you can't get the private key in Windows?

    I'm very confuse. My english is poor, but I try to say my question clearly.
    When browser connects to a https website which needs client certificate to authenticate the identity, the browser will send client certificate to web server.
    Then the web server will use the certificate to encrypt some data and send it to browser.
    Then broswer should have private key to decrypt that.
    But as I know, if I install a pfx format personal certificate, I can set can't export private key, which means you can't get the private key to use it. So how can
    the browser decrypt the data without private key?
    By the way, what is CSP, use CSP's interface can we use CryptoAPI
    to decrypt data without private key?

    Answer for question is  "you cant".. 
    "How to decrypt data when you can't get the private key in Windows?"
    Read more 
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa387460(v=vs.85).aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/bb427432(v=vs.85).aspx
    http://technet.microsoft.com/en-us/library/dd277320.aspx
    http://en.wikipedia.org/wiki/Public-key_cryptography

  • Dates when saving picture

    Hello,
    I would like to get "today's date" when saving a picture.  At the present when I save the picture, it keeps its original date.
    No clue how to do that in windows 7 with Photoshop CS5 at 64.
    Thanks for info.
    Bert

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Page shows different data when saved after few minutes

    Hi,
    I have a peculiar problem to describe.
    I have a page which contains af:table inside af:panelCollection layout. I use a af:commandLink to drilldown to another page using setCurrentRowWithKey method.
    I am able to drill down to the correct data in another page which contains data that is editable. Once after editing the page when i click save button, i am able to save the data. This is working fine.
    But the problem is, once i drilled down to this edit page and edit some fields and save it after few minutes, say 5 minutes later, it is not saved. Also, the page is refreshed to bring some random record.
    Can anyone let me know why is this happening and how to resolve it?
    Thanks

    Hi Timo,
    Which jdev version?I am using jdev 11.1.1.3.0.
    Is it possible that the data has changed (e.g. by an other user) after you drilled to the one record you want to change?There is a possibility that the data can be changed by other user as well. But, for the time being we have implemented for the single user environment.
    When you click save after some time, do you get any error (on the screen or in the logs)?Yes. On the screen, it is displayed as "oracle.jbo.JboException: Document type mismatch (source INVOICE, type Sales)". It is a validation exception thrown at viewRowImpl level by me. But it validates the data perfectly when saved immediately after editing
    Which session timeout do you have configured in your web.xml?Session-timeout is given as 240
    Have you tried your use case with the HR schema?Yes. when i reproduce the situation in HR schema, it is getting saved perfectly
    Regards

  • HT201250 How to encrypt data on time machine?

    I have already backed up my mac using time machine. How do I go back and uncheck the option encrypt data, so I can see the flies on windows computer too?

    Zac. wrote:
    What I have found is that the TM backup database is only accessible to the machine that created it. The individual accounts in the TM backup, assuming you have more than one account backed up, is only accessible to that individual account. While it is not Filevault level security, unless your home folder is filevault protected, you should be okay.
    HTH
    zac
    When I disconnect the external drive with the Time Machine backup from my MacBook and connect it to my iMac at work, I can browse the TM folder and access just about any file for any user account that is backed up. Am I really the only one where the backup is not protected?

  • How to backup data when hard drive is failing.

    I think my hard drive is failing..
    I booted using Install DVD, and got message in Disc Utility that "this drive has a hardware problem that can't be repaired." It mentioned I should backup data and consult apple representative..
    I clicked on Macintosh HD under the red physical drive (500.11 GB Hitachi HTS) and did disc repair.
    Strangely, the message went away on the physical drive when I finished.  It turned back to black wording and gave green "verified/repaired" messages in the log.
    I am still able to boot my macbook, although everything is running slowly... Desktop excel files take 15 mins to open.
    Does this still sound like a failing hard drive?
    I am trying to act fast and borrowed my sister's external harddrive/ "passport for mac", and it slowly prompted a time machine backup. It is slowly working through "8.34GB of 200.33GB"
    I do not really understand what I am doing, but hoping this is the right move. Could someone explain what time machine will do or how it will help?
    Is there any chance I will harm her external hd?
    I am mostly worried about iPhoto and itunes library, iMovie projects,and important excel spreadsheets on my desktop. Is time machine looking after these concerns?
    Any help greatly appreciated.

    Where is you TM backup?
    Where are your external data redundancies?
    Now you will need to use very expensive data recovery experts to recover data when you could have had it safely on a $100 worth of 2 external HD.  
    Mechanical HD failure circumvents using recovery software.......so,  now you backed yourself into a corner and needed expensive data expert recovery.
    You took a wrong turn a long while back before reaching this cliff edge.
    that wrong term was not having (preferably 2) external HD as a redundant data archive.

  • How to preserve data when converting a Standard DSO into a Write Optimized

    Hi,
    I'm looking for proven strategies for preserving data when converting a standard DSO into a write optimized DSO. The data has to be dropped before the new DSO is transported into the environment.
    1. The DSO is currently in synch with a cube,
    2. The PSA does not have all the data which is in the DSO.
    3. Data volume is incredibly high for a full reload from ECC, so we'd like to avoid that option.
    Appreciate any help!

    Hi Gregg,
    have you considered just deleting the data? I know that sounds simple, but it might be a valid solution.
    If the DSO is just receiving new data (e.g. FI documents), you can continue to deliver a logically correct delta to the cube.
    Should that not be possible and you really want all data that you currently have in your DSO1 in the write optimized future of it, then how about this:
    - Create a new DSO2 same structure as DSO1
    - Load all data into that
    - Delete all data from your DSO1 and import the transport to make it write optimized
    - Load all data back into you now write optimized DSO1 from DSO2
    The problem you have then, is that all data that you have already loaded into your cube is due to be delivered as a delta from DSO1 again.
    Depending on your transformation / update rules that might or might not be a problem.
    Best,
    Ralf

  • How to fill data when call function of sap standard script form?

    Hi every experts,
    <Priority Normalized>
    In our system, when we log in 'FR', we can print purchase order in language Franch,in t_code:ME22N.  And when logging in 'EN', we can print it in language English, in ME22N. The English form is just only translated from Franch, with all same structure and frame.  The form is done by script form.
    And when logging in 'ZH', we create a new program, calling function smartform, instead of translating from EN language. Because of different structure and frame, I don't know the way to write script, so  I print puchase order by smartform, when logging in 'ZH'.
    But I have a new issue. Our MM module consultant needs me to print Chinese form if one condition, print English form in other condition.
    So I have no idea to solve it. Because in my program, I get data to fill smartform and call function of smartform. And I don't know how to get data to fill script form. I only know the function name, 'OPEN_FORM' 'WRITE_FORM' 'CLOSE_FORM'.....
    If I only call the several functions, I will get only frame without no data. So who can tell me how to do????
    <Urgency downgraded>
    Edited by: Suhas Saha on Jul 26, 2011 3:34 PM
    Edited by: Vinod Kumar on Jul 26, 2011 4:09 PM

    Hi,
    Normally if we look in NACE transaction, you can see that upto five different FORMS can be assigned to a single output type . i.e. for each form there will be a seperate routine through which it gets called. But it all start from the first form only.
    so you need to write your code in the ENTRY of the first form and if it does not satisfy do not go for processing of it but just exit of that form ENTRY. so that it will take you to next form.
    hope this helps.
    Thanks,
    Venkatesh

  • Webi Reports - Stale data when saved a pdf/xls

    Hi Webi Guru's - we have a peculiar issue in our BOBJ Production system.
    To give you a bit of background on our production system - is hosted on
    O/S - EL 2.6
    Database - Oracle 11g
    IE version - 9
    2 Tomcat 6 servers, load balanced using F5 load balancer
    3 CMC cluster servers and 1 Oracle Database server
    CMC has BW 731 authentication
    Problem Description -
    Open any WEBI report. Pass a set of parameters. Most of the reports have from and todate as input parameters.
    On the first attempt we pass the fromdate = 5th May 2014, todate = 10th May 2014. Save the report as pdf/xls file. Saves with the correct data.
    Refresh the webi report - provide different set of date range as, fromdate = 12th May 2014, todate = 20th May 2014. Save the report as pdf/xls file. This time though the report brings out correct data set, when saved as a pdf/xls file, saves with data from date range that was passed the first time which was  fromdate = 5th May 2014, todate = 10th May 2014
    Have checked with our network team regarding if caching is enabled on tge F5 loadbalancer - an there is none.
    I did raise a incident with SAP support and it was closed down saying it is a third party issue at the load balancer level and recomended that I could check with the SCN community..
    Has anyone in the BI/BOcommumity come across this sort of problem before where you you have split installations and your web server is load balanced.
    Any help will be much appreciated.
    Thanks
    Savitha

    Hi Amit - thanks for your reply.
    If we run the reports directly from both the Web/Tomcat server - we get the correct result set saved in the PDF/XLS file. But it is not the case when we access the reports from the Load balanced URL. When we went live initially we had only one tomcat server, due to performanance issues we added additional tomcat server and since then we are noticing this issue.
    The immediate thing that came to our mind was - if there was a caching option enabled at the load balancer level. The network team have confirmed that it is not the case.
    We have enabled HTTPWatch to see if there was anything obvious we could spot - but there is nothing from the logs  which stands out either.
    The issue is only when we save the reports as in PDF/XLS format - saves the data with prompts from the previous refresh.
    Hope it all makes sense.
    Thanks
    Savitha

  • How to encrypt data with PublicKey???

    Hi, I need to know how I can encrypt data (in byte[ ]) with a PublicKey instance.... I'm using BouncyCastle....
    THANKS...
    Andres

    http://javaalmanac.com/egs/javax.crypto/pkg.html#Encrypting%20and%20Decrypting

  • What happens to encrypted data when the server is destroyed?

    Backups to tape are encrypted with a certificate. 
    But what happens if the backup server is destroyed? Do I lose all the backup data on those tapes?
    Can I backup the certificate or is it specific to that specific DPM server?
    In the case of a catastrophic datacenter failure, where everything is lost except the tapes and the certificate, what is the process for recovering the encrypted data?

    You can absolutely backup the certificates used for DPM encryption and you should store those somewhere safe (for example, burn to CD and put in a fireproof safe offsite somewhere secure in an encrypted file).
    This section of TechNet describes the process: http://technet.microsoft.com/en-us/library/jj628058.aspx
    If you had to recreate a DPM server to read the tapes then you'd need to the certificates in the correct certificate store on the DPM server, in addition you'd need to ensure you had the certificates for the certificate chain, if there is one, in the correct
    locations in the cert store.
    Once a cert expires, do not delete it from the DPM until all the tapes that have used that cert are no longer in use or have been overwritten.
    The data would need to be imported through the recovery section in DPM but you'd be able to read and recover the data if the certs were present. No cert = no recovery.

  • How to encrypt data using DES in ABAP?

    Hi Experts,
    I need to do encryption/decryption between ABAP and JAVA.
    Is there any function in ABAP world can do the DES or any other well known symmetrical encryption?
    Thank you so much!
    Best Regards,
    Guo Guo Qing

    A lot of SAP installations use Gnu-PGP for encryption.
    When you have installed GPG software on your server and created the appropriate keys, you create an external command in SAP via SM69 to execute the GPG encryption command.
    Finally, create a function module that builds the encryption command line as appropriate, then calls the external command defined in SM69.
    GPG is free software licensed under the GNU General Public License umbrella, so won't cost you anything. See URL [http://www.gnupg.org] for full information and software download.
    Regards,
    D.

  • How to encrypt data using GnuPg

    Hello
    I am unable do encryption using GPG public key encryption.
    Can anyone help me in this.
    THanks & Regards

    A lot of SAP installations use Gnu-PGP for encryption.
    When you have installed GPG software on your server and created the appropriate keys, you create an external command in SAP via SM69 to execute the GPG encryption command.
    Finally, create a function module that builds the encryption command line as appropriate, then calls the external command defined in SM69.
    GPG is free software licensed under the GNU General Public License umbrella, so won't cost you anything. See URL [http://www.gnupg.org] for full information and software download.
    Regards,
    D.

  • Regarding how to Read data when it is in offline in SMP 3.0

    I have a big problem guyz...I am working on a hybrid Mobile App
    When I am in Online I am able to read the data.When I kill the application and relaunch the app and place the App in Airplane mode and when I try to read the data It is throwing me a error in browser stating  "ERR_CONN_RESET" and in the device I am getting an error such as HTTPREQUESTFAILED....
    Mithun Please help us in reading the data in offline Mode.Please help us it is on high priority
    Tags edited by: Jitendra Kansal (Moderator)

    Yeah for sure mithun,
    function read() {
      if(navigator.onLine){
      alert("hi");
            updateStatus2("read request started");
            startTime = new Date();
            clearTable();
            if (!haveAppId()) {
                return;
            var sURL = applicationContext.applicationEndpointURL + "/DateFormats";
      console.log("Date Formats Fetched"+  sURL);
            var oHeaders = {};
            oHeaders['Authorization'] = authStr;
      oHeaders['X-SMP-APPCID'] = applicationContext.applicationConnectionId;    //this header is provided by the logon plugin
      oHeaders['Content-Type'] = "application/xml";
            oHeaders['X-CSRF-Token'] = "FETCH";
            var request = {
                headers : oHeaders,
                requestUri : sURL,
                method : "GET"
            console.log("read using " + sURL);
            OData.read(request, readSuccessCallback, errorCallback);
      else{
      sap.OData.applyHttpClient();
      //OData.read(request,readSuccessCallback,errorCallback);
        function readSuccessCallback(data, response) {
            var endTime = new Date();
            var duration = (endTime - startTime)/1000;
            updateStatus2("Read " + data.results.length + " records in " + duration + " seconds");
            var productsTable = document.getElementById("ProductsTable");
            for (var i = 0; i < data.results.length; i++) {
                var row = productsTable.insertRow(1);
                var cell1 = row.insertCell(0);
                var cell2 = row.insertCell(1);
                cell1.innerHTML = data.results[i].DateFormatType;
                cell2.innerHTML = data.results[i].DateFormatValue;
    the above is my read() function in which the data is read.
    I am also attaching my openStore() method:
    if (!haveAppId()) {
                return;
            startTime = new Date();
            updateStatus2("store.open called");
            var properties = {
                "name": "DateFormatsOfflineStore",
                "host": applicationContext.registrationContext.serverHost,
                "port": applicationContext.registrationContext.serverPort,
                "https": applicationContext.registrationContext.https,
                "serviceRoot" :  appId,
      "streamParams" : "custom_header=Authorization:Basic " + btoa(applicationContext.registrationContext.user + ":" + applicationContext.registrationContext.password) + ";custom_header=X-SMP-APPCID:" +  applicationContext.applicationConnectionId + ";",
                "definingRequests" : {
                    "DateFormats" : "/DateFormats"
            store = sap.OData.createOfflineStore(properties);
      console.log("Offline Store Created");
            //var options = {};
            store.open(openStoreSuccessCallback, errorCallback/*, options*/);
      console.log("Offline Store Opened");
    When the device is in online , data is read absolutely fine where as in offline i am unable to read data and Http request failed error is getting displayed.....
    Mithun Please help us in this on high priority

  • How To Retain Multi-Channel Data When Saving as SMF 0 format

    I need to save my logic files as SMF0 format midi files in order to play them on my new yamaha S90 ES keyboard. How do you do this when you have songs with multiple channels on separate tracks and regions in the arrange window?
    Thanks for any help.

    i have resolved this problem, it's maybe i didnot set the fmtCanWriteTransparency flag in the pipl.
    thanks.

Maybe you are looking for