this all depends. if you want to make it hidden and only allow it to be accessed with a password, look into
Apimac Secret Folder.
otherwise, if your folder name is
folder you could name is
.folder and it will become hidden, only accessible from the terminal by navigating to the point where you can see your folder. EX: if you were to place the folder
.folder into your documents folder of your home directory,
would then display the name
.folder along with the rest of the contents of the documents folder. if you want to get into your documents folder, type
cd .folder once you have already done the first line of code [/i]cd documents[/i] from before. but this leaves a problem as you can't really see the contents. but you could always rename the directory in the terminal:
this then changes the name
.folder to
folder, allowing it viewable in the finder.