Home Man
Search
Today's Posts
Register

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

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

Tags
beginners

 

 
Thread Tools Search this Thread
# 1  
Old 11-24-2011
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?
# 2  
Old 11-24-2011
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)
# 3  
Old 11-24-2011
Quote:
Originally Posted by vbe
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 11-24-2011
How do you send it to your customer?
# 5  
Old 11-24-2011
Quote:
Originally Posted by vbe
How do you send it to your customer?
by mail. mailx
# 6  
Old 11-24-2011
You can scp the file to some machine with zip that supports encryption, then encrypt and mail it from there.
# 7  
Old 11-24-2011
Quote:
Originally Posted by bartus11
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
 

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Password protect script cmccabe Shell Programming and Scripting 3 04-08-2015 11:42 AM
How to encrypt / password protect big Linux file? postcd Security 1 01-09-2014 12:31 PM
Is it possible to password protect directories in linux? sarbjit UNIX for Advanced & Expert Users 1 09-01-2011 09:58 AM
Password protect a zip file Pablo_beezo Shell Programming and Scripting 0 02-15-2010 09:30 AM
PAssword protect uploaded files saariko UNIX and Linux Applications 0 11-17-2009 10:35 AM
Zip and password protect non-interactively savage66 UNIX for Dummies Questions & Answers 1 05-06-2008 09:00 AM
Password protect UNIX printers? rtoba UNIX for Advanced & Expert Users 4 03-10-2006 03:30 PM
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 05:13 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password