OS command Encryption

Hi Guys,
I am trying to encrypt a file from XI and FTP to a different location. I am using PGP software for encryption and decryption. I am able to encrypt/decrypt the file from the OS level. The command I am using at OS level is:
pgp --home-dir /.pgp --encrypt test.txt --recipient 0xC483S9E6
If I use the same command in Sender File adapter in Run Operating System Command After Processing it is not encrypting. Now if I run the entire scenario the file is writing but it is not encrypting the file. Can you tell me where I am exactly going wrong?
---Satish

Hi,
Try using the full path while calling.
Better use a batch file where you can write all the code and call the batch file from the adapter.
First ensure that the batch file is called, say for example write a command like MD
server\foldet\Test and see if the folder Test is created. This will ensure you that the batch file is being triggered.
I was facing this kind of problem and I solved it by doing another scenario which just reads a file and saves with the same name in the same path. In this scenario call the batch file this will encrypt. My be this looks bit untidy but you can use this as a work around.
Thanks,
Prakash

Similar Messages

  • Encrypted Profile Migration from XP to Windows 7 (Windows & Program Files Folder not Available)

    I'm trying to migrate a few encrypted profiles from Windows XP to Windows 7 
    I have a disk without "Windows" and "Program Files" Folder with the userprofiles without a backup of recovery agent and related certificates. 
    By USMT or in another way it is possible a deployment and recovery (also partial) of these userprofiles folders? These data can be accessible in some way or there are lost forevar? 
    During USMT deployment by scanstate/loadstate cmdline tools: I used to be specify a KeyString
    after the switch command "/encrypt /efs:". I can blank "/efs:" argument during USMT Deployment? 
    Thank you.

    Sadly, without a backup of encrypted userprofiles, related data are unusable after scanstate phase.
    Anyway, what
     Hetti
    Arachchige V Aravinda had written is very important to know when you copy or move ecrypted folder and files in a different partition or in a another disk.
    Thanks Hetti
    Arachchige V Aravinda for your good info and tips. 

  • Please help me with my code (has conversion from string to int)

    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class Test3 extends MIDlet implements CommandListener
    {   Form mForm;
        Command mCommandQuit;
        Command mCommandItem;
        TextField input,prime1,prime2,prime3,output;
        Display mDisplay;
        int i,j=0,k1,k2,p,q,b;
        //int [] current=new int [1000];
        String mstring,a="";
        String [] temp=new String [1000];
        public void startApp()
        {System.out.println("startApp");
         mForm=new Form("RSA Encryption");
         mCommandQuit=new Command("QUIT",Command.EXIT,0);
         mCommandItem=new Command("ENCRYPT",Command.ITEM,0);
         mForm.append("Enter text:\n");
         input=new TextField(null,"",100, TextField.ANY);
         mForm.append(input);
         mForm.append("Enter first prime number(p):\n");
         prime1=new TextField(null,"",100, TextField.ANY);
         mForm.append(prime1);
         mForm.append("Enter second prime number(q):\n");
         prime2=new TextField(null,"",100, TextField.ANY);
         mForm.append(prime2);
         mForm.append("Enter d:\n");
         prime3=new TextField(null,"",100, TextField.ANY);
         mForm.append(prime3);
         mForm.addCommand(mCommandQuit);
         mForm.addCommand(mCommandItem);
         mDisplay=Display.getDisplay(this);
         mDisplay.setCurrent(mForm);
         mForm.setCommandListener(this);
        public void pauseApp()
        {System.out.println("pauseApp");
        public void destroyApp(boolean unconditional)
        {System.out.println("destroyApp");
        public void commandAction(Command c, Displayable d)
        {System.out.println("commandAction");
         if(c==mCommandQuit)
            notifyDestroyed();
         else if(c==mCommandItem)
         {p = Integer.parseInt(prime1.getString());
             q = Integer.parseInt(prime2.getString());
             b = Integer.parseInt(prime3.getString());
             //breaking up of big string into ints
             mstring=input.getString();
             temp[0]="";
             for(i=1;i<mstring.length();i++)
                {if (mstring.charAt(i) == ' ')
                    {j++;
                     temp[j]="";
                 else
                    {temp[j]=temp[j]+mstring.charAt(i);
             mForm.append("\n\nThe array is:\n");
             for(i=0;i<temp.length && temp!=null;i++)
    {k1=Integer.parseInt(temp[i]); ***********************
    k2=k1;
    for(j=1;j<b;j++)
    {k1=k1*k2;
    k1=k1 %(p*q);
    k2=k1 %(p*q);
    a=a+new Character((char)k2).toString();
    output=new TextField(null,a,100, TextField.ANY);
    mForm.append(output);
    }hi
    this code basically takes an input of string like " 179 84 48 48 155 " (with spaces)
    then it creates smaller strings in an array like "179","84","48","48","155" without the spaces
    then it creates int values 179,84,48,48,155 and finally after some math functions it prints the corresponding letters.
    the problem is that it is not printing the letter because of some exceptions-->java.lang.NumberFormatException .it comes in the line where i have put stars
    could anybody please help me print the letters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    thanks for all ur help guys, but me and my team member solved it on our own. here is the new code:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class Test3 extends MIDlet implements CommandListener
    {   Form mForm;
        Command mCommandQuit;
        Command mCommandItem;
        TextField input,prime1,prime2,prime3,output;
        Display mDisplay;
        int i,j=0,l,k1,k2,p,q,n,b;
        String mstring,a = "";
        String [] temp=new String [1000];
        public void startApp()
        {System.out.println("startApp");
         mForm=new Form("RSA Encryption");
         mCommandQuit=new Command("QUIT",Command.EXIT,0);
         mCommandItem=new Command("DECRYPT",Command.ITEM,0);
         mForm.append("Enter text:\n");
         input=new TextField(null,"",100, TextField.ANY);
         mForm.append(input);
         mForm.append("Enter first prime number(p):\n");
         prime1=new TextField(null,"",100, TextField.NUMERIC);
         mForm.append(prime1);
         mForm.append("Enter second prime number(q):\n");
         prime2=new TextField(null,"",100, TextField.NUMERIC);
         mForm.append(prime2);
         mForm.append("Enter d:\n");
         prime3=new TextField(null,"",100, TextField.NUMERIC);
         mForm.append(prime3);
         mForm.addCommand(mCommandQuit);
         mForm.addCommand(mCommandItem);
         mDisplay=Display.getDisplay(this);
         mDisplay.setCurrent(mForm);
         mForm.setCommandListener(this);
        public void pauseApp()
        {System.out.println("pauseApp");
        public void destroyApp(boolean unconditional)
        {System.out.println("destroyApp");
        public void commandAction(Command c, Displayable d)
        {System.out.println("commandAction");
         if(c==mCommandQuit)
            notifyDestroyed();
         else if(c==mCommandItem)
         {p = Integer.parseInt(prime1.getString());
             q = Integer.parseInt(prime2.getString());
             b = Integer.parseInt(prime3.getString());
             n=p*q;
             //breaking up of big string into ints
             mstring=input.getString();
             temp[0]="";
             for(i=1;i<mstring.length();i++)
                {if (mstring.charAt(i) == ' ')
                    {j++;
                     temp[j]="";
                 else
                    {temp[j]=temp[j]+mstring.charAt(i);
             l=j;
             mForm.append("\n\nThe result is:\n");
             for(i=0;i<l;i++)
                {k1=Integer.valueOf(temp).intValue();
    k2=k1;
    for(j=1;j<b;j++)
    {k2=k2*k1;
    k2=k2 %n;
    k1=k2 %n;
    a=a+new Character((char)k1).toString();
    output=new TextField(null,a,100, TextField.ANY);
    mForm.append(output);

  • Line console password vs privilege mode enable secret

    Hi all,
    Below is my running config ->
    line con 0
    exec-timeout 0 0
    privilege level 15
    password cisco
    logging synchronous
    login
    q1) how come every time i will enter privilege mode once i enter the console password ? can I choose to enter normal user mode instead ? is it via setting the privilege level ?
    q2) I understand that for enable privilege mode, i can set secret/encrypted password for the enabling.
    R1#config t
    R1(config)#enable secret cisco
    Where does the encryption take place ? is it only to just md5 the password text in the configuration file only ?  if i were to sniff the password over the network, i will still see clear text "cisco" ?
    q3) Why can't i do so (setting secret/encrypted) password for line (vty,con etc) login ?
    q4) for q3, after google, i realize i need to issue service password-Encryption
    a) does this command "encrypt" again my current enable secret password ? -- i think its no cause i see no changes in show run
    b) why do we have to issue this command to encrypt my line,vty etc password ? why can't we use the "secret" command ?
    c) what the different between this "service password-Encryption" and "secret" ?  why do we need to have both ?
    q5) is all the service password-Encryption, enable secret etc, just basically hashing or encrypting the actual text password in the config file. is there anyway of encryption over the network ?
    Thanks,
    Noob

    a) why vty, console line cannot have hashed password like enable secret ? -- the only way to use secret is to have login local and create local username with secret password
    Because they can't, its as simple as that really.
    Like you said, the only way to protect the password using an MD5 hash is to create a username and password and ensure you use the secret command like:
    username admin secret password
    b) is all the service password-Encryption, enable secret etc, just basically hashing or encrypting the actual text password in the config file. is there anyway of encryption over the network ? 
    Its just using an MD5 hash
    Where its encrypted or not over the network will depend on whether you use Telnet or SSH to connect to the switch.
    Telnet is plain text so even using an MD5 password will still be visible if someone were to packet capture your telnet session.
    SSH in encrypted so use this whenever possible. 

  • Preverify ERROR for in Eclipse while using SATSA-crypto.jar

    I have created simple application to encrypt the string using Cipher class like below:
    This code snippet I got from the forums.nokia;
    In this The string "THIS IS A SECRET MESSAGE" is encrypted and decrypted using the key "SECRET!!" .
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.Form;
    import javax.microedition.lcdui.Item;
    import javax.microedition.lcdui.TextBox;
    import javax.microedition.lcdui.TextField;
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.ShortBufferException;
    import javax.crypto.spec.SecretKeySpec;
    public class FirstForm extends Form implements CommandListener {
         TextField txtData=new TextField("Enter the Data","",10,TextField.ANY);
         Command cmdEncrypt=new Command("Encrypt",Command.SCREEN,1);
         public FirstForm(String arg0)
              super(arg0);
              this.append(txtData);
              this.addCommand(cmdEncrypt);
              this.setCommandListener(this);
         public void commandAction(Command cmd, Displayable frm)
              if(cmd==this.cmdEncrypt)
                   System.out.println("Command Is Pressed.......");
                   byte[] msg = "THIS IS A SECRET MESSAGE".getBytes();
                   byte[] enMsg = new byte[10000];
                   byte[] deMsg = new byte[10000];
                   //create new cipher using DES algorithm
                   try {
                        Cipher c = Cipher.getInstance("DES");
                        //our raw byte[] key - please note that since we use DES algorithm,
                        //the key must be 8 bytes long
                        byte[] b = "SECRET!!".getBytes();
                        //init the cipher to encrypt the data
                        c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(b,0,b.length,"DES"));
                        int numBytes = c.doFinal(msg, 0, msg.length, enMsg, 0);
                        System.out.println("Encrypted Message is"+enMsg);
                        //init the cipher to decrypt the data
                        c.init(Cipher.DECRYPT_MODE, new SecretKeySpec(b,0,b.length,"DES"));
                        numBytes = c.doFinal(enMsg, 0, numBytes, deMsg, 0);
                        String s = new String(deMsg,0,numBytes);
                        System.out.println("Decrypted Message is"+s);
                   } catch (InvalidKeyException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoSuchAlgorithmException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoSuchPaddingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalStateException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (ShortBufferException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalBlockSizeException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (BadPaddingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
    }after clicking on command button the Encrypted and decrypted sting is shown on the console
    I have tested this code with wtk2.5.2.
    This code works fine with sun'sWTK 2.5.2
    But when; I have created project with the eclippse and wtk22
    1) I added the satsa-crypto.jar in projrct->Properties->java-Builder-Path in "Library tab"
    2)I Had also checked the checkbox before satsa-crypto.jar "Order-Of-Export Tab"
    I am using the Ant Built
    After Building I got Error saying::
    Buildfile: D:\nitins_workspace\Encrypt\build.xml
    init:
    j2mepolish:
    [j2mepolish] info: the license attribute is no longer supported. Please place your license.key file either to ${project.home} or to ${polish.home}.
    [j2mepolish] J2ME Polish 2.0-RC4 (GPL License)
    [j2mepolish] Loading device database...
    [j2mepolish] Using locale [de_DE]...
    [j2mepolish] assembling resources for device [Generic/midp2].
    [j2mepolish] preprocessing for device [Generic/midp2].
    [j2mepolish] compiling for device [Generic/midp2].
    [j2mepolish-javac-Generic/midp2] Compiling 24 source files to D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\classes
    [j2mepolish] obfuscating for device [Generic/midp2].
    [j2mepolish] proguard: ProGuard, version 3.5
    [j2mepolish] proguard: Preparing output jar [D:\nitins_workspace\Encrypt\build\real\dest.jar]
    [j2mepolish] preverifying for device [Generic/midp2].
    [j2mepolish] preverify:Error preverifying class u
    [j2mepolish] preverify:    VERIFIER ERROR u.a(ILm;Lw;)V:
    [j2mepolish] preverify:Cannot find class com/sun/midp/ssl/Key
    [j2mepolish] Preverify call failed: 1
    [j2mepolish] C:\WTK22\bin\preverify.exe -classpath D:\Java\J2ME-Polish\import\midp-2.0.jar;D:\Java\J2ME-Polish\import\cldc-1.0.jar; -d D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\obfuscated -nofp -nofinalize -nonative D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\obfuscated
    BUILD FAILED
    D:\nitins_workspace\Encrypt\build.xml:109: Unable to preverify for device [Generic/midp2] - preverify returned result 1
    Total time: 7 seconds What may be the reason of this??

    I think you need to post the stack trace error message to get a response.

  • Unable to delete files from encrypted external SD Card using File Commander

    I've run into some trouble trying to delete the directory com.spotify.music from my external SD Card (encrypted) after a hard reboot using the reset button next to the sim card.
    I need to do this for the Spotify app to work (FC on starting it) and I'm currently unable to delete the folder and its contents from Sony provided file explorer(FC File Commander).
    Is there a way to delete this app from adb or other command line tool or how should I go about this? Developer options are enabled because I'm learning to develop apps. Not particularly keen on rooting or otherwise format my SD Card but it's an option if there are no other ways to do it. 
    I can see the contents of my card using File Commander just fine. Spotify app is uninstalled, I tried remove cache and data before uninstall also.

    Thommo wrote:
    Are you able to delete files via your Pc or are you able to remove the card from your phone and connect it to a Pc for file deletion - There is a free program called Unlocker currently on version 1.9.2 which is excellent at deleting files that don't want to be deleted - You would install the program then right click the file and choose Unlocker and then when the program starts choose delete
    I guess he will not be able to move the SD card to the computer since it's encrypted and is working only with that particular device, but he should be able to access it via PC.
    If you can try to uninstall Spotify from your phone. I assume Spotify is not working due to some rubbish inside it's directory, but on the other hand you can't delete the folder because it may be used by Spotify. If you uninstall app folder may be unlocked.
    Best regards,
    Sergio PL
    Xperia Z1 / Nexus 7 (2012)

  • How to encrypt file on linux using Gnupg command in Java Embedding in BPEL.

    Hi All,
    I am trying to invoke a command script using the java embedding in BPEL Process.I am using the below code to execute the particular command to encrypt the file :-
    try {    
            Runtime rt = Runtime.getRuntime();    
    Process pr = rt.exec(new String[] {"/bin/bash", "-c", "/u01/GnuPG/bin/gpg", "-e", "-r", "Developer","/u01/oracle/ConfigFiles/Adapter_controlDir/abc.csv"});    
             int exitVal = pr.waitFor();            
            String result = "SUCCESS: Process exit with " + exitVal;         
            addAuditTrailEntry("result = "+result);      
            setVariableData("outputVariable","payload","/client:processResponse/client:result",result);    
    } catch(Exception e) {    
            e.printStackTrace();      
      String result = "FAILURE: Exception with " + e.toString();    
            addAuditTrailEntry("result = "+result);      
            setVariableData("outputVariable","payload","/client:processResponse/client:result",result);    
    The above statement does nothing. I am not sure what command i need to use to access to the command line.
    When i try this particular statement from linux machine command prompt :- /u01/GnuPG/bin/gpg -e  -r  Developer /u01/oracle/ConfigFiles/Adapter_controlDir/abc.csv
    It works absolutely fine and it creates the encrypted files also.
    Please suggest , which command i need to use from the java embedding.
    Please suggest!!
    Regards,
    Shah

    I think, you can try, writing these commands into a separate shell script and call that shell script from bpel via Java embedding. However, you might not get a return response.. but you can still give a shot.
    Hope it helps.

  • How can I encrypt my data links between switch uplink ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me

    How can I encrypt my data uplinks between switch trunk ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me as I want to encrypt my switch-to-switch link with Cisco TrustSec.

    Hi 
    Login to switch & go to interface..
    There you can give tags.. (ISL & DONT1Q)
    Command switch-port mode trunk
    Switch-port trunk encapsulation ssl or dot1Q

  • Execute MaxL command througth ODI and encrypt password

    Hi
    I am looking for a solution to not use plain text password for my Maxl command in ODI.
    Anyone know how should I do that?
    Up to now, I found nothing.
    Thanks
    Alain

    Hi,
    Here is a example of encrypting the login credentials in a maxl scipt.
    First run something like this from a command prompt
    essmsh -gk >> c:\temp\encryptKeys.txt
    This will create a text file with the public and private keys e.g.
    e.g.
    Public Key for Encryption: 5407,1453704157
    Private Key for Decryption: 406488703,1453704157
    Now say you have a maxl file called login.mxl like
    login admin password on localhost;
    logout;
    You can encrypt it by calling
    essmsh -E c:\temp\login.mxl PUBLIC KEY
    So for this example it would be
    essmsh -E c:\temp\login.mxl 5407,1453704157
    This will create an file called login.mxls with encrypted login details e.g.
    login $key 6343689380045143584028576355606972733930 $key 1468602100275634090163724540502857635560 on localhost;
    logout;
    Now to execute the file you need to use the command
    essmsh -D c:\temp\login.mxls PRIVATE KEY
    so in this example
    essmsh -D c:\temp\login.mxls 406488703,1453704157
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Would it still be possible to retrieve encrypted files from a Mac OS X 10.8.5 after clean install and performing command p and r?

    I'm just wondering, if it would still be possible to retrieve encrypted files (such as home folders using legacy filevault) from Mac OS X 10.8.5 after clean install of new OS and performing command-p and -r during bootup? Any help would be greatly appreciated.

    Something to know. All of these tools have two things in common:
    1) You must have another drive to save the recovered data to. You cannot save it back to the same partition you are recovering from since doing so could overwrite data you are trying to save.
    2) They take forever to complete. In Windows, a deleted file or folder simply has a flag changed on its entry in the file table so the OS knows the space it used to occupy is free to use for other data. To unerase, the software simply changes the flag back to "live". That's why they work so easily and fast in Windows. How long an item has been marked as erased determines whether or not the space it sat on has since been used by new data.
    On a Unix system (which OS X sits on top of), deleted data has its file table entry removed. The only way then to find deleted data is to scour the entire drive for BOF (beginning of file) markers and reading the data of each one it finds to its EOF (end of file) marker.
    So be prepared to wait for hours for a search to complete. It could take more than a day for a terabyte or larger drive. It also doesn't help that recovered data rarely has any of the original names.
    Edit: Also, did you do a simple erase of the drive, or a zero write erase? If the latter, your chances of recovering anything is virtually nil.

  • Encrypting PDF with password. PDF command failed due to PDFlib error: Bad parameter.

    I'm trying to encrypt a PDF with a password and receive this error.
    ~ERROR~com.adobe.document.PDFManipulation~: PDF command failed due to PDFlib error: Bad parameter.
    It does not throw an exception, it just logs this error.
    Anybody know how to fix this?
    Version: 7.0.2
    OS: Win

    I was also getting this error, when trying to set usage rights on a document and then encrypt it with a password. I found a solution which works (more like a workaround, as this feels like a bug):
    1. Open the unprotected file
    2. Call pdfDocument.encryptWithPassword()
    3. Call pdfDocument.save(), write resulting bytes to temp file
    4. Reopen this file with pdfFactory.openPdfWithPassword()
    5. Now you can call pdfDocument.setUsageRights() and pdfDocument.save()

  • Filevault encryption paused, despite reset of PRAM and using terminal commands

    I have been trying to partition my HDD but am unable to because file vault encryption is paused - and has been since October 2014.
    I attempted making a new user to see if this would bypass it, but it didn't.
    I have reset the PRAM and have repaired the HDD both in recovery and normal, neither work.
    I have also used terminal command "sudo fdesetup disable" to attempt turning it off, but that doesn't work either.
    Help please??
    Harry

    If you don't already have a current backup of all data, back up before proceeding. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Start up in Recovery mode. When the OS X Utilities screen appears, select Disk Utility.
    In the Disk Utility window, select the icon of the startup volume from the list on the left. It will be nested below another disk icon, usually with the same name. Click the Unlock button in the toolbar. When prompted, enter the login password of a user authorized to unlock the volume, or the alternate decryption key that was generated when you activated FileVault.
    Then, from the menu bar, select
              File ▹ Turn Off Encryption
    Enter the password again.
    You can then restart as usual, if the system is working. Decryption will be completed in the background. It may take several hours, and during that time performance will be reduced.
    If you can't turn off encryption in Disk Utility because the menu item is grayed out, you'll have to erase the volume and then restore the data from a backup. Select the Erase tab, and then select
              Mac OS Extended (Journaled)
    from the Format menu.
    You can then quit to be returned to the main Recovery screen. Follow these instructions if you back up with Time Machine. If you use other backup software, follow its developer's instructions.
    Don't erase the volume unless you have at least two complete, independent backups. One is not enough to be safe.

  • Can an Access 2013 accdb file be encrypted using command line switches?

    Can an Access 2013 accdb file be encrypted using command line switches?
    I found all the command switches, but nothing about encrypting.  And I've searched online and found nothing.
    Can this be done?
    Thanks!

    Hi Sharon2000,
    I think you could try the Database.NewPassword Method (DAO) in the VBScript file, and you could get more information about it from the link below:
    #Database.NewPassword Method (DAO)
    https://msdn.microsoft.com/en-us/library/office/ff844754.aspx
    Here is a simple demo to achieve your issue.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Does java card support PIN encryption on APDU Verify Command???

    hello
    I want to know if java card allows PIN encryption in the APDU verify command? because such an action necessits that a section key has to be set between the server (SC applet) and the client application.
    thanks a lot

    Many Java cards support the GlobalPlatform Open Platform specification
    which can be downloaded for free from http://www.globalplatform.org .
    This specification contains a mechanism called "secure messaging".
    All APDUs sent to applications or the cardmanager and the corresonding
    responses can be enrypted when using secure messaging.
    In order to use secure messaging a "mutual authentication" is necessary
    where the off-card entity authenticates itself to an application,
    e.g. the card manager, and the application authenticates itself to the
    off-card entity.
    Naturally, this involves static keys on/off-card and session keys.

  • Sudo command in apple script? Encrypting apple script?

    Hi,
    1. I need a way to enter my root user password in applescript (when you run sudo in terminal you are prompted for a password, this is not so in apple script. So how do you tell apple script what the password is?)
    2. Can i encrypt my applescript with a password so that only i can open it?
    Thanks,
    Patrick.

    # 2 works great, #1 not so much... ive been trying
    tell application "Terminal"
         do shell script "su"
    end script
    any way i can auto enter my password following "do ....Su"?

Maybe you are looking for

  • Abap runtime error CL_AI_CRM_OBJECT_LMDB============CP

    Dear All, We are setting up Solman 7.1 sp08 for VAR scenario. As we faced some issues with duplicated ibase components SAP suggested us to implement note 2012029. After following step by step and running the reporrts mentioned in above note like repo

  • MBP gives me the intro sound then gray screen then blinking file icon with

    A question mark. I was doing a video chat and lost power and this is what I got. I have not been able to start it since this happened tonight. HMmm. I had no idea Apple care closed at 6PM. When did that start?? can anyone help me?

  • How to add business systems into DIRECTORY?

    Hi, I have problem to add business system into Business Systems list in my scenarion in the Integration Directory. These systems are already in the SLD, but when I try to assign a business system, I have only choice to assign XI... How to solve this

  • Goods Movements done by WorkCenter

    Hi gurus, we have next scenario: We have Goods Movement (mov. 531 and 261) in confirmations CO11N for an order and work center. How can we see the goods movement done in a particular workcenter? In MSEG there aren't fields for work center. The unique

  • First and last pages on the wrong side?

    Hi I've gone on to inDesign CS6 for the first time in a month or so and for some bizarre reason my pages are backwards.. as you can see in the image page '1' is on the right hand side, and should be on the left.  anyone got any ideas - sorry if its s