locking drive and folders from registry!!!

Status
Not open for further replies.

kin.vachhani

Dreaming Future
Can anyone pls teach me how to lock drive and folders from windows registry or from local security policy for different users on my pc...
 

niku_19jan

Broken In
bro try these
Create Own Folder Lock Softwar
Step 1 :Compile this code in C Language and generate EXE file of it....
#include<stdio.h>
#include<stdlib.h>
void main()
{
FILE *f;
int n,i;
char fldr[20];
printf(">>>>>>>>>>>>>>>>>>>>>FOLDER LOCK<<<<<<<<<<<<<<<<<<<\n Coded by deepak garg");
printf("\nWhat do you want to do??");
printf("\n1).Lock Folder\n2).Unlock Folder\n");
scanf("%d",&n);
switch(n)
{
case 1: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s %s.{21EC2020-3AEA-1069-A2DD-08002B30309D}\ndel conv.bat",fldr,fldr);
fclose(f);}break;
case 2: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s.{21EC2020-3AEA-1069-A2DD-08002B30309D} %s\ndel conv.bat",fldr,fldr);
fclose(f);}break;
}
}


Step 2: After Getting exe file go to parent folder in which a folder to be locked is placed.. and run this programme

Step 3: it will create One file name conv.bat run this file and Wowvieeee... your folder is locked...

CLSID folders are special folders like My Computer, Control Panel, Recycle Bin etc.... here are few CLSID values i know of....

{00021400-0000-0000-C000-0000000000046}
{21EC2020-3AEA-1069-A2DD-08002B30309D}
{BD84B380-8CA2-1069-AB1D-0800948534}
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
{645FF040-5081-101B-9F08-00AA002F954E}

respectively for....

Desktop
Control Panel
Fonts
My Computer
Recycle Bin
 

shyamno

Ambassador of Buzz
niku_19jan said:
bro try these
Create Own Folder Lock Softwar
Step 1 :Compile this code in C Language and generate EXE file of it....
#include<stdio.h>
#include<stdlib.h>
void main()
{
FILE *f;
int n,i;
char fldr[20];
printf(">>>>>>>>>>>>>>>>>>>>>FOLDER LOCK<<<<<<<<<<<<<<<<<<<\n Coded by deepak garg");
printf("\nWhat do you want to do??");
printf("\n1).Lock Folder\n2).Unlock Folder\n");
scanf("%d",&n);
switch(n)
{
case 1: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s %s.{21EC2020-3AEA-1069-A2DD-08002B30309D}\ndel conv.bat",fldr,fldr);
fclose(f);}break;
case 2: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s.{21EC2020-3AEA-1069-A2DD-08002B30309D} %s\ndel conv.bat",fldr,fldr);
fclose(f);}break;
}
}


Step 2: After Getting exe file go to parent folder in which a folder to be locked is placed.. and run this programme

Step 3: it will create One file name conv.bat run this file and Wowvieeee... your folder is locked...

CLSID folders are special folders like My Computer, Control Panel, Recycle Bin etc.... here are few CLSID values i know of....

{00021400-0000-0000-C000-0000000000046}
{21EC2020-3AEA-1069-A2DD-08002B30309D}
{BD84B380-8CA2-1069-AB1D-0800948534}
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
{645FF040-5081-101B-9F08-00AA002F954E}

respectively for....

Desktop
Control Panel
Fonts
My Computer
Recycle Bin

suppose I am having a folder "New Folder" in the C:..
Inside New Folder I ahve another folder which I want to lock suppose it is "New Folder1".

Then please suggest me where to place the EXE file..

and does we need to modify the source code..does it will ask for password..I have tried but nothing happens ..I can see the "New Folder1" which I want to lock and can access it without any blocking..
 

redhat

Mad and Furious
Hi, I have already created an application under Visual Basic 6.0, that achieves folder locking in the same way. It allows You to add a password to the application so that no one else may unlock the folder. I have uploaded the zip file for the application with the thread 'Locking Folders Without Commercial Softwares' *www.thinkdigit.com/forum/showthread.php?t=44805 . I have uploaded a file that has many CLSID values and the corresponding folders so that you can use them in the code provided by niku_19jan
 
Last edited:

niku_19jan

Broken In
aditya.shevade said:
@niku_19jan.... thanks man. All I have to do now is just add a password in the source code:-D

u r most welcome...:D
__________
bro shyamno its works n place the exe file under newfolder
 
Last edited:
Status
Not open for further replies.
Top Bottom