Locking Folders:
Consider you want to lock a folder named XXXX in your E:\, whose path is E:\XXXX.
Now open the Notepad and type the following
ren E:\xxxx xxxx.{21EC2020-3AEA-1069-A2DD-08002B3030
Where xxxx is your folder name. Save the text file as loc.bat in the same drive.
Open another new notepad text file and type the following
ren
Save the text file as key.bat in the same drive.
Steps to lock the folder:
To lock the xxxx folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.
To unlock the folder click the key.bat file. Thus the folder will be unlocked and the contents are accessible.
Explanation:
The actual Process we are actually converting the folder into control panel.
xxxx.{21EC2020-3AEA-1069-A2DD-08002B3030
this line will convert the folder xxxx to control panel
and vice versa
Security Threat:
If the user tries to open through cmd prompt he will be able to do it, by going to the corresponding folder by using
cd directoryname
and then open the file name inside it(which you get by pressing tab)
by command open filename
it will go to open with dialog.from there you can open it.
If dont want to secure at a high level you can use this method
Source:
Some Orkut community
No comments:
Post a Comment