Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-12-2006, 11:34 AM   #1 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Locking folders without commercial softwares.

I have seen many people in various sections and threads asking for ways of locking folders using the registry, etc. So, to hlp them, I have created an application in VB 6.0. What it does is add a CLSID extention to the specified folder so that Explorer recognises it as a system folder and opens that system folder.
I am attatching it. Pls download, use and tell me how it is, as I havent finished the complete program as yet. Please also do give me suggestions.
redhat is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-12-2006, 11:45 AM   #2 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2005
Posts: 22
Default Re: Locking folders without commercial softwares.

where is the attachment?
gr8usr is offline  
Old 27-12-2006, 12:15 PM   #3 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Re: Locking folders without commercial softwares.

where is the attachment man ??????
Ron is offline  
Old 27-12-2006, 04:32 PM   #4 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Smile Re: Locking folders without commercial softwares.

Sorry Guys, The attatchment did not come up. There was some problem while attatching. But here I have posted them again.
Attached Files
File Type: zip Folder Lock.zip (27.6 KB, 228 views)
File Type: doc REGISTRY CLSID.doc (23.5 KB, 165 views)
redhat is offline  
Old 27-12-2006, 06:24 PM   #5 (permalink)
Dreaming Future
 
kin.vachhani's Avatar
 
Join Date: May 2005
Location: \internet\home
Posts: 177
Default Re: Locking folders without commercial softwares.

thx bro
__________________
World without Computer is like a man without Brain.....
kin.vachhani is offline  
Old 28-12-2006, 10:40 AM   #6 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Post Re: Locking folders without commercial softwares.

@kin.vachhani You are always welcome.

I am waiting for Vishal to see and criticeze it
__________________
My new Tech Blog : http://technewspaper.blogspot.com/
redhat is offline  
Old 28-12-2006, 06:06 PM   #7 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Thumbs up Re: Locking folders without commercial softwares.

Quote:
Originally Posted by redhat
KEEP GOING
Hey Redhat,
Your software is good. I will be waiting for ur coming version.....
And may i know why u have attached the doc.....
Is it for.....
To turn a folder/file into a Recycle Bin or......
----------------------------------------------------------------
coolron@hotmail.com
Ron
Ron is offline  
Old 28-12-2006, 07:54 PM   #8 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Re: Locking folders without commercial softwares.

@ Ron Thanks
The .doc file contains various CLSID's of various special folders under XP. You can change the folder into any of these special folders. But I personally prefer the Windows security Speial folder choice if the user is running Windows XP.
Reason : Under that CLSID, the folder gets the icon of a Golden Lock, plus nothing happens on double-clicking it. Perfect to show that the folde is locked!
__________________
My new Tech Blog : http://technewspaper.blogspot.com/
redhat is offline  
Old 28-12-2006, 10:23 PM   #9 (permalink)
Back to School Mr. Bean !
 
mod-the-pc's Avatar
 
Join Date: Apr 2004
Location: Chennai
Posts: 343
Default Re: Locking folders without commercial softwares.

Quote:
Originally Posted by redhat
But I personally prefer the Windows security Speial folder choice if the user is running Windows XP.
Reason : Under that CLSID, the folder gets the icon of a Golden Lock, plus nothing happens on double-clicking it. Perfect to show that the folde is locked!
@redhat the CLSID {2559A1F2−21D7−11D4−BDAF−00C04F60B9F0} doesn't work for me. I renamed a folder using that buy I'm still able to see the folder contents. Am I missing something?
Attached Images
File Type: jpg scr.JPG (23.0 KB, 43 views)
__________________
Desktop: P4 2.8E, Intel 865GBF, 512MB Hynix PC3200, Samsung SV1204H 120GB, Samsung SW-248F, Creative Inspire 4400, Samsung 793MB, Compro PVR/FM, WinLIRC

Laptop: HP Pavilion dv8210us
mod-the-pc is offline  
Old 29-12-2006, 10:34 AM   #10 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Re: Locking folders without commercial softwares.

@mod-the-pc I'm sorry , but yes you are true, the CLSID for windows Security is not working , though I dont know why, because I had used this once before in my program. Ill try and find out and also try to give some good special folder key to use.
__________________
My new Tech Blog : http://technewspaper.blogspot.com/
redhat is offline  
Old 29-12-2006, 10:53 AM   #11 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Re: Locking folders without commercial softwares.

TRICK

To make a folder to turn into a Recycle Bin or ………
Than rename the folder/file as:

MYFOLDER.{645FF040−5081−101B−9F08−00AA002F954E}

To Bring it Back
Go to Run>CMD

REN MYFOLD~1.{64 RONAK
---------------------------------------------------------------------------------------------------------------------
So the correct SYNTAX
For Rename

filename.registry clsid

To Bring it Back
Go to Run>CMD

REN filename.{first two digit of the registry clsid

--------------------------------------------
COOLRON5@HOTMAIL.COM
RON
Ron is offline  
Old 29-12-2006, 10:53 AM   #12 (permalink)
Back to School Mr. Bean !
 
mod-the-pc's Avatar
 
Join Date: Apr 2004
Location: Chennai
Posts: 343
Default Re: Locking folders without commercial softwares.

Thanks redhat. Do let me know. The following CLSIDs you've mentioned don't work too

{FF393560−C2A7−11CF−BFF4−444553540000}
{450D8FBA−AD25−11D0−98A8−0800361B1103}
{AFDB1F70−2A4C−11D2−9039−00C04F8EEB3E}
{D20EA4E1−3957−11D2−A40B−0C5020524153}
{D20EA4E1−3957−11D2−A40B−0C5020524152}
{7007ACC7−3202−11D1−AAD2−00805FC1270E}
{85BBD920−42A0−1069−A2E4−08002B30309D}
{2559A1F1−21D7−11D4−BDAF−00C04F60B9F0}
{2559A1F3−21D7−11D4−BDAF−00C04F60B9F0}
{2559A1F0−21D7−11D4−BDAF−00C04F60B9F0}
__________________
Desktop: P4 2.8E, Intel 865GBF, 512MB Hynix PC3200, Samsung SV1204H 120GB, Samsung SW-248F, Creative Inspire 4400, Samsung 793MB, Compro PVR/FM, WinLIRC

Laptop: HP Pavilion dv8210us
mod-the-pc is offline  
Old 29-12-2006, 10:56 AM   #13 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Re: Locking folders without commercial softwares.

hEY
THE SOFTWARE IS DAMM GOOD AS I SAID BEFORE..bUT HOW DOES THE PASSWORD OPTION WORK.........
CAN U GIVE ME THE FULL PROCESS
RON
Ron is offline  
Old 29-12-2006, 10:57 AM   #14 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Post Re: Locking folders without commercial softwares.

@ Mod-the-pc Thanks for your extensive response.
I am currently working on creating a new Custom Special folder whose CLSID I will add to my application. As soon as I finish that I will post it here.
__________________
My new Tech Blog : http://technewspaper.blogspot.com/
redhat is offline  
Old 29-12-2006, 10:59 AM   #15 (permalink)
Back to School Mr. Bean !
 
mod-the-pc's Avatar
 
Join Date: Apr 2004
Location: Chennai
Posts: 343
Default Re: Locking folders without commercial softwares.

Quote:
Originally Posted by Ron
To Bring it Back
Go to Run>CMD

REN filename.{first two digit of the registry clsid
A better way to get the 8.3 name for the file/folder is go to command prompt and use
dir /x
Use the filename from this output to rename the locked folder
__________________
Desktop: P4 2.8E, Intel 865GBF, 512MB Hynix PC3200, Samsung SV1204H 120GB, Samsung SW-248F, Creative Inspire 4400, Samsung 793MB, Compro PVR/FM, WinLIRC

Laptop: HP Pavilion dv8210us
mod-the-pc is offline  
Old 29-12-2006, 11:06 AM   #16 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Re: Locking folders without commercial softwares.

Quote:
Originally Posted by Ron
hEY
THE SOFTWARE IS DAMM GOOD AS I SAID BEFORE..bUT HOW DOES THE PASSWORD OPTION WORK.........
CAN U GIVE ME THE FULL PROCESS
RON
@ RON I did not understand what you meant. But the application stores the username and password in the secure.ini file after encrypting them. So after you add the username and password, when the program asks you for the password, it first fetches it from the file, decrypts it and matches it. It is NOT Case-Sensitive. I hope that solves your doubt. The problem here is that ne one can open the app. without the password by just deleting one line in th secure.ini file! I'm bad at handling the registry, but i'm tryin to learn programming with the registry. After which there will be no secure.ini file. All the entries will be saved in the registry!
__________
@ Ron Mod-the-pc is correct using the dir /x command is very easy.
__________________
My new Tech Blog : http://technewspaper.blogspot.com/

Last edited by redhat; 29-12-2006 at 11:16 AM. Reason: Automerged Doublepost
redhat is offline  
Old 07-01-2007, 05:05 AM   #17 (permalink)
Learner
 
Kniwor's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 1,946
Default Re: Locking folders without commercial softwares.

@redhat
great effort pal, you can count on me for testing

And yeah, there is another issue with this thing, even if u get a proper way to secure your password, and a custom folder with unique CLSID , this thing is shell specific, i.e. explorer specific, to try out, just open winrar and use it as explorer, you will be able to see all the contents of any such folder, if u don't understand what i mean by use winrar as explorer, just right click it, and make an archive, now open the archive and you will see.
__________________
http://kniwor.wordpress.com/

Last edited by Kniwor; 07-01-2007 at 06:07 AM.
Kniwor is offline  
Old 07-01-2007, 11:42 AM   #18 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Smile Re: Locking folders without commercial softwares.

Quote:
Originally Posted by Kniwor
@redhat
great effort pal, you can count on me for testing

And yeah, there is another issue with this thing, even if u get a proper way to secure your password, and a custom folder with unique CLSID , this thing is shell specific, i.e. explorer specific, to try out, just open winrar and use it as explorer, you will be able to see all the contents of any such folder, if u don't understand what i mean by use winrar as explorer, just right click it, and make an archive, now open the archive and you will see.
Thanks Kniwor, for your support. I already know of this issue. Yes, this issue occurs even under NERO, BlueJ Java development Environment...
But the good thing is that the folder will not be displayed under [dir] command in CMD
__________________
My new Tech Blog : http://technewspaper.blogspot.com/
redhat is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 05:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2