Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 16, 2006, 09:59 AM   #1
Keytachi
macrumors regular
 
Join Date: Sep 2006
Security question

I share my Apple with several people in my house, we have an account for each one and, since i take up a lot of space i keep my stuff in the external hard drive (LaCie Porsche F.A. 250GB). But i have some personal files that i want to keep to myself, unfortunatley the internal hard drives cant support them (i could put them in my desktop and problem solved), so i thought of something that would only allow me to open my main folder. The problem is... i dont know much about programming to do that!
So im asking if anyone could help me creating something that would only allow my account (account X) to open my folder (folder Y) or to assign a password to the folder (folder Y).

thanks alot to those who help me
Keytachi is offline   0 Reply With Quote
Old Sep 16, 2006, 12:17 PM   #2
Catfish_Man
macrumors 68030
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
Encrypted disk image.
Catfish_Man is offline   0 Reply With Quote
Old Sep 16, 2006, 02:48 PM   #3
Keytachi
Thread Starter
macrumors regular
 
Join Date: Sep 2006
the problem is: im not the only one who uses the disk. maybe i could encrypt my folder? is that possible?
Keytachi is offline   0 Reply With Quote
Old Sep 16, 2006, 03:17 PM   #4
Mitthrawnuruodo
Moderator
 
Mitthrawnuruodo's Avatar
 
Join Date: Mar 2004
Location: Bergen, Norway
FileVault is for encrypting your whole home folder. But, IMO, that's a bad idea. It's potentially harmful and takes a lot of extra space.

A much better option is to follow Catfish_Man's advice and make an encrypted disk image, or even better an encrypted sparseimage.

What you do is open Disk Utility (it's in /Applications/Utilities/) and select File -> New -> Blank Disk Image..., put it wherever you want (on the internal or external disk) using the Save As..., choose the image's size (ie. how much storage space you need), AES-128 Encryption and sparse disk image under Format. Choose a safe password and wait while it's being made.

You'll then get a sparseimage file that, when double-clicked will prompt for password and then mount itself as a disk. You can copy stuff to and from it, but once you unmount it (cmd-E or drag the disk image - NOT the sparseimage file - to trash), no one will be able to access the data on that without the password (or an immensely strong computer and a lot of time).

Just remember to uncheck the save password on keychain the first time you're prompted for it...

The sparse image will then just take up the space of whatever you put into it (unlike a regular disk image that will take up all the space no matter what's in it).
__________________
Those who fail to learn history are doomed to repeat it; those who fail to learn history correctly... why, they are simply doomed.
Mitthrawnuruodo is offline   0 Reply With Quote
Old Sep 16, 2006, 03:51 PM   #5
Keytachi
Thread Starter
macrumors regular
 
Join Date: Sep 2006
wow thanks alot!!! i thought of making an apple script:

tell app finder
encrypt
folder "My folder" in folder "esternal hard drive"
end tell

but then i needed to define the variable "encrypt" but this solution is fantastic!
by the way after copying everything to sparesimage i can erase my folder?
Keytachi is offline   0 Reply With Quote
Old Sep 16, 2006, 03:55 PM   #6
Mitthrawnuruodo
Moderator
 
Mitthrawnuruodo's Avatar
 
Join Date: Mar 2004
Location: Bergen, Norway
Quote:
Originally Posted by Keytachi
by the way after copying everything to sparesimage i can erase my folder?
Yes... as long as you don't delete the sparseimage file itself or forget the password...

Also, remember to back up the sparseimage file every now and than. Backup is the best thing you have that you hopefully never will need...

Also, when you drag and drop stuff that you want to move in and out of the encrypted disk, you can hold down the option key (I think it was, or the command key) to get rid of the green (+) that indicates that things are copied over.
__________________
Those who fail to learn history are doomed to repeat it; those who fail to learn history correctly... why, they are simply doomed.
Mitthrawnuruodo is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
AX & AE Security question for WDS krohde Macintosh Computers 0 Sep 10, 2004 10:01 AM
SECURITY question! Mr. Monsieur General Mac Discussion 25 May 26, 2004 09:59 AM
os x security question howard Mac Help/Tips 5 Dec 12, 2002 12:16 AM
Mac OS X security Question/Poll JupiterZen Mac Help/Tips 9 Sep 8, 2002 04:55 PM
os x web server security question nerveosu Mac Help/Tips 1 Apr 13, 2002 06:28 PM


All times are GMT -5. The time now is 01:44 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC