The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 06:24 AM
File password protection/encryption rdudejr AIX 2 07-09-2006 07:43 PM
copy files without password in script jwala Shell Programming and Scripting 0 02-12-2006 01:10 PM
Directories and Files Protection in Apache Server crazycelicagts UNIX for Dummies Questions & Answers 2 07-24-2002 02:44 PM
Virus Protection for Unix Web Servers Karen Stone Security 2 01-08-2002 05:40 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-18-2004
p_prathaban p_prathaban is offline
Registered User
  
 

Join Date: Feb 2004
Posts: 11
Question Does unix has password protection for zip files?

How to set password in zip files under unix?

There are password protection available in various os.
Does unix has password protection for zip files?

Is zip and gzip command has it?
  #2 (permalink)  
Old 02-18-2004
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
a better way to "protect" a zip file would be to change is permissions. search here for "file permissions" and you will get lots of examples, and different methods to accomplish your goal.

a password protected zip file, like in windows would be a bad idea in a unix OS. this is for two main reasons that i can think of. one, the password protection would depend upon the program you are using to access the zip file. so, write a program that dosnt honor the password protection. two, is that it would muck up the whole unix way of doing things. at the command line, every common utility is designed to take input, and give ouput. so every command can work together (using a pipe |, for example) in a shell script. if someone had a script that unzipped a zip file, having it password protected would mess up the whole thing.

so anyway, my point is: use the built in security measures that unix OSs have.
  #3 (permalink)  
Old 02-19-2004
p_prathaban p_prathaban is offline
Registered User
  
 

Join Date: Feb 2004
Posts: 11
Question Is there Password Protection in gzip.

Is there Password Protection in gzip.
  #4 (permalink)  
Old 02-19-2004
google's Avatar
google google is offline Forum Advisor  
Moderator
  
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
There is nothing worse than impatience.
Quote:
Is there Password Protection in gzip.
I think you failed to understand the point of view expressed. So, for my 2 cents, I will tell you to RTM. Read the man pages and you will have your answer.
man gzip
  #5 (permalink)  
Old 02-19-2004
oombera's Avatar
oombera oombera is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
p, you never responded to your other post either, so I'd guess this is just another homework question?

It usually is when someone refuses to look at the possibilities and requires something to be done only one way. If it irritates you at all to read this, then please explain why you need things this way so badly.
  #6 (permalink)  
Old 02-19-2004
p_prathaban p_prathaban is offline
Registered User
  
 

Join Date: Feb 2004
Posts: 11
Hi ALL,

Thanks for the replies.

I think, I 'm not clear in my question.

Let me try again.


gzip doesn't support password protection.

But to set password protected, unix has crypt , pgp, gpg and so on.

I just require how does those encrytion can be done in gzip.

As a way like on guzip or gzip -d , I can get a password request prompt and thus decrypt the file.

Is this can be done?
Or
Do I need to go with encrypt & gzip and gunzip & decrypt?
  #7 (permalink)  
Old 02-19-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
if it is more then 1 file.

gzip then encrypt.

if it is 1 file just encrypt.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0