PDA

View Full Version : Hiding Specific Files From Unauthorized Users


Gservo
24th January 2003, 02:41 PM
(David Chernicoff, david@winnetmag.com)

*
Sometimes, challenging what we think we know is important. Last week, I received an email message from a reader asking a seemingly simple question: "How do I hide the content of drives from my users who don't have permission to see the files on those drives?" I tossed off a simple reply: "There's a Group Policy Object (GPO) called Prevent Access to Drives from My Computer. Use that."

The next day, the reader responded, telling me that using Prevent Access to Drives from My Computer didn't solve his problem--his users could use Windows Explorer to expand the folder listings on a particular drive by clicking the plus signs. Even worse, the Dir command still worked at the command prompt, fully enumerating the contents of the specified directory. Users couldn't access the files, but they could see that the files existed. To solve this administrator's problem, the files' existence needed to be hidden from unauthorized users.

I searched through the available GPOs and found "Hide these specified drives in My Computer." When you enable this policy, users can't use Windows Explorer to see the target drives. However, the drives and their content are still visible when a user runs the Dir command at a command prompt.

I wanted to discover some way to make this information invisible from the command line but didn't find any way to do so by using the services and tools that the OS makes available. I'm willing to bet that third-party tools exist that will let an administrator accomplish this goal. However, the best I could do was to suggest that the administrator set NTFS permissions to deny browsing on the target folders, a solution that isn't terribly helpful because it means making explicit permission changes on every network root folder that needs additional control. For the short term, I suggested that the administrator use the "Disable the Command prompt" policy to prevent users in groups with limited network access from launching a command session.

My solution is rather inelegant and definitely falls into the "If the only tool you have is a hammer, every problem looks like a nail" category. If any Windows Client UPDATE reader has found a better solution than using three separate GPOs yet can let users access the command prompt if necessary, please drop me an email message, even if your solution requires a third-party software tool.

wyles
24th January 2003, 03:04 PM
best way to hide your porn is to build the missus her own 'pooter....(extra cruncher too! ;) )

CyberdynSystems
24th January 2003, 03:53 PM
Good one Wylie,.. I used a loverly proggy called Folder Guard back on my Win98 machines,..

.. I suspect there is an XP version available by now. Simpla as can be. Fire up the program tell it what folders you want to hide,. and it does. Enter a password,.. and all the hiddedn folders appear for your browsing pleasure.

Thats how I kept my my "Unibombers Manifesto" secret for so loong,...

.. Wait! Did I just???? :doh:

Fizban
28th January 2003, 11:37 AM
If you wanna hide some files, then the best thing to do is create a PGPDisk. You can create a few Gigs of protected space (256Bit).

Once you've created it, you double click on the file, it asks you for a password. You get it right and you'll see another drive pop up in my computer. Browse run progs as normal, then when you've finished, right mouse click on the drive and unmount it. :cool:

Talon
28th January 2003, 02:37 PM
How does one create a PGPDisk?

CyberdynSystems
28th January 2003, 02:55 PM
How does one create a PGPDisk?

Yes Wizard,.. enlighten us.... ?

Fizban
28th January 2003, 06:18 PM
ok, install PGP, I use 7.11.(PGPCD711) Don't install the firewall, it beggers everything up. You can get it from the p2p networks.

reboot after installing.
On the harddisk you wish to create the file, do a right mouse click in explorer. You get your usual options, in new. folder etc, but you will be given an option of creating a pgpdisk volume, it's just like a regular file, so you can put it in any folder you wish.

Type in the location you wish the file to go. Choose the size, I have a 20Gig one. No problems.

go to advanced button on the wizard, you'll see how you wish to mount the disk, say by drive letter.

Use the twofish ciper Algorithn (256 Bit).

Deselect mount at start at startup tick box., then choose FAT or ntfs. Now one thing to remember if your gonna create 650MB size for a CD, then choose fat, as a PGPdisk needs to be writeable, NTFS on a CDROM is hassle. On my HD I use NTFS, no probs.

Hit next on the wizard. You then select PASSPHRASE , Administrator
then type in the password, twice.

BINGO.

double click on the file, you'll get a dialog box, type in your password. You will then get a drive mount.

go to my computer, go to the drive, it looks and acts like a proper partition.

to unmount, right click on the file and unmount it, or right mouse click on the drive. unmount.

Good luck, if you can't get the program, let me know and I'll put my FTP server online for you to grab it.