How do I hide a folder in Mac OS X? Also is it possible to password-protect a folder
You don't need to add a period to the beginning of a name, you can use the invisibility bit which is part of the Apple HFS+ file system via the leopard command in a terminal:
This hides your MyFiles folder. You can read up on that command in detail here:
You can also toggle showing hidden and unhidden files in finder using this applescript (I compile it to an application triggered via quicksilver):
Password protecting folders? The way I'd do it is make an encrypted DMG using disk utility and mount it when needed. You could get fancy probably and change the DMG icon to a folder icon, and hide it using the invisibility bit for full on effect :-)
If you want to spend some money doing it: Espionage
Files and folders starting with . (ie .hiddenfile.txt) are not shown in the Finder and save dialogs etc.
You might have to use the terminal.
You can create Disk image with Password protection:
1) Open Applications->Utilities->Disk Utility.
2) Select File->New...->Blank Disk Image.
3) Name it, set the size to what you'll need, set the encryption to AES-128, and set the format to sparse disk image.
4) It'll then create the image and ask you for a password. Be sure to uncheck the option to store the password in your keychain.
For tutorial with screens follow this: http://www.mactricksandtips.com/2008/04/password-protecting-folder-solution.html