CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Posts
    65

    How Exactly Does Folder Lock Works?

    Ok, I've just been wondering my brains out.

    I know:
    - You can make a directory attribute as "System" to prevent it from being shown normally from hidden files.
    - You can change it's ACLs so that unauthorized users don't have access to it.
    - You can also change its CLSID so that Explorer doesn't even recognize it as a directory.

    But what exactly does Folder Lock do? The file is "moved" to some other location since it's size is no longer added - that's my guess. But I think there much more going on behind the scenes.

    Any veteran can please comment on this issue?

    Regards,
    Nisheeth Barthwal

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: How Exactly Does Folder Lock Works?

    I don't know what "Folder Lock" is. Is that a utility?
    Anyway, if you remove the appropriate rights from a folder, even explorer will not be able to view its contents or to calculate its size.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  3. #3
    Join Date
    Jun 2009
    Posts
    65

    Re: How Exactly Does Folder Lock Works?

    Folder Lock

    Using the ACLs you can make that Folder Unaccessible to explorer, but what this app does is Remove it from there and some kind of logical drive appears as the locker. Is this some kinda device driver?
    Last edited by nbaztec; December 29th, 2010 at 07:50 AM.

  4. #4
    Join Date
    Jan 2009
    Posts
    54

    Re: How Exactly Does Folder Lock Works?

    A file system driver, encryption software and the stealth mode is probably using a simple keyboard driver (or if they were lazy possibly a registry hack to add the shortcut key). The lock file can be configured to not be seen as a file any longer so it doesn't count toward space in the folder.

  5. #5
    Join Date
    Jun 2009
    Posts
    65

    Re: How Exactly Does Folder Lock Works?

    Thanks a ton for resurrecting my query. I get you though not fully. Sorry, but I didn't fully understand the concept of using a "keyboard driver" as a a "file system driver".
    The concept, I however (I think), I do get. I need some kind of a Global Hook (like LL Keyboard/Mouse) to parse the Messages which Explorer uses to enumerate the directories/files.

    Is there an example on the above mentioned topic, particularly using Windows API?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured