• April 24, 2024, 12:20:16 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Easy way to temp hide a folder?  (Read 3047 times)

tentimes

  • Level 3 Member
  • ***
  • Posts: 127
Easy way to temp hide a folder?
« on: July 30, 2010, 11:49:23 AM »

Hi,

I'm sure I will figure this out eventually but I am scratching my head right now...

Is there a quick way to hide a directory? I have my nieces staying for the weekend and I don't want them finding certain, err, folders containing, err, um.... my tax returns... yea that's it, tax returns ;)
Logged

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: Easy way to temp hide a folder?
« Reply #1 on: July 30, 2010, 04:24:32 PM »

Move it to a different share with different access permissions.
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

irotjaf

  • Level 2 Member
  • **
  • Posts: 51
Re: Easy way to temp hide a folder?
« Reply #2 on: July 30, 2010, 07:41:48 PM »

One fast solution if you have telnet access is:

/ # chown -R root:root /mnt/HD_a2/YourFolder
/ # chmod -R 700 /mnt/HD_a2/YourFolder

Then, when your nieces leave:

/ # chown -R nobody:501 /mnt/HD_a2/YourFolder
/ # chmod -R 777 /mnt/HD_a2/YourFolder

This is the only trustful way I've found quickly. The official explanations are not helpful:
ftp://files.dlink.com.au/products/DNS-323/REV_B/SetupGuides/How_to_set_folders_and_permissions.pdf

P.s. I dont know how changing owner in command line can affect any scheduled backup you may have set on that folder.
« Last Edit: July 31, 2010, 02:35:36 AM by irotjaf »
Logged

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Easy way to temp hide a folder?
« Reply #3 on: July 31, 2010, 02:39:26 PM »

dosborne has the best solution, new share with different credentials

but you can try to add a period in front of the name....
like
"2009 tax returns" becomes ".2009 tax returns" and that should hide it....
but of course if in windows you set it tho "show hidden folders" ...
then guess what ? everyone would still be able to see your "tax returns"
Logged

Rodent

  • Level 3 Member
  • ***
  • Posts: 136
Re: Easy way to temp hide a folder?
« Reply #4 on: July 31, 2010, 07:25:21 PM »

If you want to hide a share than rename the folder that is being shared and add a '$' sign.
i.e.

if you are sharing a folder called 'Private' than remove the share from the 323, than rename the folder to 'Private$', and than re-share it.

The share is now hidden from browsing but you can map a drive to it or access it by '\\dnd323\private$'

hope this helps

R.
Logged