This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Mac OS and the fly likes password protect a .txt file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "password protect a .txt file?" Watch "password protect a .txt file?" New topic
Author

password protect a .txt file?

Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8886
    
    5
Once again showing my ignorance

It seems there are several approaches to protecting a file on OS X... does anyone have any favorite, lightweight approaches?


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62139
    
  68

I put mine in a password protected disk image -- but that might not be what you mean by lightweight.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8886
    
    5
Having never done that it doesn't sound lightweight, but who knows?

Any other, lighter-weight ideas?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Bert Bates wrote:... but who knows?

See http://support.apple.com/kb/ht1578 for the GUI approach, or "hdiutil create -help" using the CLI.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: password protect a .txt file?