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 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
aditya.shevade said:@niku_19jan.... thanks man. All I have to do now is just add a password in the source code