The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM


UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Password on File Dastard Shell Programming and Scripting 6 07-29-2007 09:33 PM
Password protect a file perryl7 UNIX for Dummies Questions & Answers 2 03-30-2005 02:13 PM
UNIX password file jodders UNIX for Dummies Questions & Answers 1 02-21-2005 02:14 PM
Protect a tar file with a password!! geoquest UNIX for Dummies Questions & Answers 1 06-19-2002 05:02 AM
Unix Password File Ednut UNIX for Dummies Questions & Answers 8 10-29-2001 04:14 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2002
Registered User
 

Join Date: Mar 2002
Location: Hyderabad,India
Posts: 2
File password.

Hello,

Is there a way to protect a file with password
on opening the file.

Thank You
__________________

:)
-Satish
Reply With Quote
Forum Sponsor
  #2  
Old 03-26-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
I dunt think so. (Might be wrong) but i never came on setting a password protect a file. Unless the only thing you can do is play around or set the file permission.

read - r
write - w
execute - x

or changemode chmod a file. chmod - changes file access permissions.

SYNOPSIS
$ chmod 777 <filename>

try man chmod
or info chmod..

chmod [OPTION]... MODE[,MODE]... FILE...
chmod [OPTION]... OCTAL_MODE FILE...
chmod [OPTION]... --reference=RFILE FILE...


Do post back..
Reply With Quote
  #3  
Old 03-26-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Also, you could encrypt, or otherwise scramble the file. Depending on your Unix, you may have the "crypt" command installed, or something that could do what you want (PGP, GnuPG, BestCrypt, etc..). Warning: the learning curve gets steeper depending on what features you need / want, but in some cases, it's more than worth it.
I currently use GnuPG and BestCrypt. GnuPG is used for email and other small text snippets, while BestCrypt is used for secure file storage - It's a good idea, and farily straight forward: You create a data container of a given size, install the special device drivers, and mount it as a live filesystem. Just make sure you unmount it on your way out, otherwise it's not too useful, right?
Reply With Quote
  #4  
Old 03-26-2002
Registered User
 

Join Date: Mar 2002
Location: Hyderabad,India
Posts: 2
killerserv, LivinFree

I knew to use chmod as one option and
crypt works well for me...

Thank you for your help,
-Satish
__________________

:)
-Satish
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0