Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

password protect a CSV file: better solution than ZIP password?

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
slashdotweenie's Unix or Linux Image
slashdotweenie slashdotweenie is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 25 March 2015, 11:15 AM EDT
Posts: 93
Thanks: 17
Thanked 4 Times in 4 Posts
password protect a CSV file: better solution than ZIP password?

Hi

We send *.csv with sensitive data to our customers. Our customers open those files with Excel.

A new requirement is that we password protect those CSV files.

I thought to pack them with ZIP and assign a password to the archive.

But Solaris 10 can't encrypt ZIP files.



Code:
$ zip -P test test.zip test.txt

zip error: Invalid command arguments (encryption not supported)
$ zip -e test.zip test.txt

zip error: Invalid command arguments (encryption not supported)

$ which  zip
/usr/bin/zip

$ uname -a
SunOS preamble-lu 5.10 Generic_139555-08 sun4v sparc SUNW,Sun-Blade-T6320

How would you do?
Sponsored Links
    #2  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 25 April 2018, 2:45 PM EDT
Location: Switzerland - GE
Posts: 6,535
Thanks: 305
Thanked 561 Times in 523 Posts
That means something Windows compatible?
Because I would use crypt command, I just tried between a file I generated on HP-UX:


Code:
 man ls >ls.ma

used crypt and scp the file to a solaris 10...
Works fine. but for Windows....
The Following User Says Thank You to vbe For This Useful Post:
slashdotweenie (11-24-2011)
Sponsored Links
    #3  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
slashdotweenie's Unix or Linux Image
slashdotweenie slashdotweenie is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 25 March 2015, 11:15 AM EDT
Posts: 93
Thanks: 17
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by vbe View Post
That means something Windows compatible?
Sadly it needs to be Windows compatible. Even more troubles, the girls don't have Admin rights on their windows boxes.

*NIX only I would use openssl. But sadly can't



Code:
Standards, Environments, and Macros                    openssl(5)

NAME
     openssl -  OpenSSL  cryptographic  &  Secure  Sockets  Layer
     toolkit

DESCRIPTION
     OpenSSL is a cryptography toolkit that implements the Secure
     Sockets  Layer  (SSLv2/v3) and Transport Layer Security (TLS
     v1) network protocols.

     The following features are omitted  from  the  binaries  for
     issues  including but not limited to patents, trademark, and
     US export restrictions: MDC2, RC3, RC5, IDEA,  ECC,  Dynamic
     Engine   Loading,  CSWIFT  Engine,  nCipher  Engine,  Atalla
     Engine, NURON Engine, UBSEC  Engine,  AEP  Engine,  Sureware
     Engine, and 4758_CCA Engine.

    #4  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 25 April 2018, 2:45 PM EDT
Location: Switzerland - GE
Posts: 6,535
Thanks: 305
Thanked 561 Times in 523 Posts
How do you send it to your customer?
Sponsored Links
    #5  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
slashdotweenie's Unix or Linux Image
slashdotweenie slashdotweenie is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 25 March 2015, 11:15 AM EDT
Posts: 93
Thanks: 17
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by vbe View Post
How do you send it to your customer?
by mail. mailx
Sponsored Links
    #6  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
bartus11's Unix or Linux Image
bartus11 bartus11 is offline
Registered User
 
Join Date: Apr 2009
Last Activity: 3 August 2016, 11:03 AM EDT
Posts: 3,733
Thanks: 7
Thanked 1,153 Times in 1,123 Posts
You can scp the file to some machine with zip that supports encryption, then encrypt and mail it from there.
Sponsored Links
    #7  
Old Unix and Linux 11-24-2011   -   Original Discussion by slashdotweenie
slashdotweenie's Unix or Linux Image
slashdotweenie slashdotweenie is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 25 March 2015, 11:15 AM EDT
Posts: 93
Thanks: 17
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by bartus11 View Post
You can scp the file to some machine with zip that supports encryption, then encrypt and mail it from there.
Doesn't

- Solaris only environment
- Firewalls with closed port 22
- it's a dirty hack
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Password protect a zip file Pablo_beezo Shell Programming and Scripting 0 02-15-2010 09:30 AM
Zip and password protect non-interactively savage66 UNIX for Dummies Questions & Answers 1 05-06-2008 09:00 AM
tar with password protect pradeepmacha Shell Programming and Scripting 2 08-26-2005 07:19 AM
Password protect a file perryl7 UNIX for Dummies Questions & Answers 2 03-30-2005 04:13 PM
Protect a tar file with a password!! geoquest UNIX for Dummies Questions & Answers 1 06-19-2002 08:02 AM



All times are GMT -4. The time now is 01:58 AM.