DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Folder Lock  (Read 8,797 times)

mahanaim

  • Member
  • Joined in 2014
  • **
  • Posts: 5
Folder Lock
« on: April 14, 2014, 06:25 PM »
I want folder protector who ask for a password when I try to open, rename, copy or cut a protected folder. I have tried many password protector but they hide the folder or just encrypt the file...
I guess whether such thing could be implemented with AHK

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Folder Lock
« Reply #1 on: April 14, 2014, 07:18 PM »
Hi, mahanaim, and welcome to the DonationCoder site.  :)  As you can probably guess, with the way the Windows file system works, what you want is not an easy thing to do.  Typically, it's going to require a low-level file system driver and that's well outside of the realm of a simple AHK script.

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Folder Lock
« Reply #2 on: April 14, 2014, 11:40 PM »
Hi, mahanaim, and welcome to the DonationCoder site.  :)  As you can probably guess, with the way the Windows file system works, what you want is not an easy thing to do.  Typically, it's going to require a low-level file system driver and that's well outside of the realm of a simple AHK script.

However it feels like another one of those things you'd just think that in 14 years of XP history, someone else has just wanted that! I just don't know how to hone in on it efficiently though.

"Innovation" - when you think your obvious little tool just can't be that hard to do, but you fail to find out the obscure guy who did it exactly once before!

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • Participated in NANY Challenge Six Times
    • Coding Snacks
Re: Folder Lock
« Reply #3 on: April 17, 2014, 12:49 AM »
Try Fast Protect - http://starpunch.blogspot.com/p/fast-protect.html

or

Lock Folder - http://starpunch.blogspot.com/p/lock-folder.html

8)

Not sure if it will work for what you want. They are also not written in AHK.

mahanaim

  • Member
  • Joined in 2014
  • **
  • Posts: 5
Re: Folder Lock
« Reply #4 on: September 28, 2014, 02:12 PM »
Try Fast Protect - http://starpunch.blogspot.com/p/fast-protect.html
or
Lock Folder - http://starpunch.blogspot.com/p/lock-folder.html
8)
Not sure if it will work for what you want. They are also not written in AHK.
Thank you for the propositions but it's not exactely what I wish. But I was glad to see and learn new means of folder protection.

mahanaim

  • Member
  • Joined in 2014
  • **
  • Posts: 5
Re: Folder Lock
« Reply #5 on: September 28, 2014, 02:19 PM »
Hi, mahanaim, and welcome to the DonationCoder site.   :)  As you can probably guess, with the way the Windows file system works, what you want is not an easy thing to do.  Typically, it's going to require a low-level file system driver and that's well outside of the realm of a simple AHK script.
However it feels like another one of those things you'd just think that in 14 years of XP history, someone else has just wanted that! I just don't know how to hone in on it efficiently though.
"Innovation" - when you think your obvious little tool just can't be that hard to do, but you fail to find out the obscure guy who did it exactly once before!
Because no one did it before, I had to do it. So I implemente a version of Folder protection and it works quite fine for me (Win7 64). I'm a newbie in Coding with AHK and it took me a week to  achieve this little application that I called DirectoryWatch. I could put it to download for the ones who are interested in, but I don't know how to do it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Folder Lock
« Reply #6 on: September 30, 2014, 04:26 PM »
nice work, mahanaim  :up:

mahanaim

  • Member
  • Joined in 2014
  • **
  • Posts: 5
Re: Folder Lock
« Reply #7 on: September 30, 2014, 05:53 PM »
nice work, mahanaim  :up:
thank mouser :-[.
I hosted the file here. https://github.com/8p1t1h/DW/tree/master Enjoy!!!
I hope some experimented AHKers could make a wonder app out of it.

mahanaim

  • Member
  • Joined in 2014
  • **
  • Posts: 5
Re: Folder Lock
« Reply #8 on: September 30, 2014, 05:56 PM »
Sorry it's my first time to notice the possibility to attach a file

Original address: https://www.donationcoder.com/forum/index.php?topic=37734.0