Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4843
  • Last Modified:

how to encrypt a csv file ?

how to encrypt a csv that has to be uploaded in a ftp server by Adding a key to keyring and encrypting through the command prompt or line.
Dose this require a pgp to accompalish this?
0
czutshi
Asked:
czutshi
  • 2
1 Solution
 
conductanceCommented:
You can use PGP or there are a number of alternative products such as Becrypt ( www.becrypt.com ) or 7-Zip ( www.7-zip.org ) and many others.  Many only provide simple encryption with a password rather than the more sophisticated public key system such as PGP where encryption can be done with a public key that is not reversible without a separate private key.  So, it depends what you need.
0
 
sarangk_14Commented:
Yes. PGP command line utility is available free of cost from: http://www.pgpi.org/

To get a key from the key server and put the key on your keyring (requires two commands):

pgp -kx <userid> <keyfile> <URL>

pgp -ka <keyfile>

The following command can be used to encrypt the file:

pgp -e textfile recipient_userid

The encrypted file can now be uploaded to the ftp server.

There is also an option available to encrypt a message for viewing by recipient only. Use this command to specify that the recipients decrypted plaintext be shown only on the recipients screen and cannot be saved to disk:

pgp -sem <message.txt> <recipients_userid>

You can find more guidance about using PGP command line here:

ftp://ftp.pgpi.org/pub/pgp/6.5/docs/english/PGPCmdLineGuide.pdf

Hope this helps.

Warm regards,
Sarang
0
 
sarangk_14Commented:
Alternately, you may find these two URLs useful:

http://home.clara.net/heureka/sunrise/pgpqref.htm

http://www.dsj.net/pgp/pgphelp.html

Warm regards,
Sarang
0

Featured Post

The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now