Loading...


bookmark - Best Way To Lock A Folder Without Using An Application

Best Way To Lock A Folder Without Using An Application

 
 Discussion by Zagete with 55 Replies.
 Last Update: April 9, 2012, 1:59 am ( View Rated (5) ) (View Latest)
Page 1 of 2 pages.
bookmark - Best Way To Lock A Folder Without Using An Application  
Quickly Post to Best Way To Lock A Folder Without Using An Application  w/o signup Share Info about Best Way To Lock A Folder Without Using An Application  using Facebook, Twitter etc. email your friend about Best Way To Lock A Folder Without Using An Application Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print


Steps:

1- make a new folder ( name it as you like )
2- inside this folder make a (.TXT ) file & copy the following inside it:

CODE

Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


3- After u copy the command go to line ( 23 ) u will find "password here" Change to any password u want.
4- After that, save it as locker.bat (the txt file will change to an application file)
5- Now go back to the folder & u will find a this locker.bat file.
6- Click on it & u will find a new folder called Private.
7- Now copy what u want in it & after that go to locker.bat by clicking it, it will open and ask you if you want to lock your folder? Y/N ?
8- Type Y
9- If you want to UNLOCK your folder, go open locker.bat & type your password and the Private folder will be made visible again.


Tested and working :]

Hide stuff from strangers, lol... :D

   Sat Feb 9, 2008    Reply         

Another advantage to Linux. To lock any file or folder so that only you have access, use the following command:
[console]
chmod 0600 filename
[/console]

Job done :o

Still, that script is pretty cool to use on a Windows machine.

   Sun Feb 10, 2008    Reply         

wow thank you, i never knew you could do this, i doubt ill use it, maybe I will, depends, but I never knew you could even lock a folder, but very nice script. Good job on this :o

   Sun Feb 10, 2008    Reply         


Looks good. Just tried it, all works. Thanks :o

   Sun Feb 10, 2008    Reply         

thanks very much.
I like that bat file.
With this locker, i can hidden some file clearly., :o :D

   Sun Feb 10, 2008    Reply         

Very nice script, though you will definitely have to hide the batch file after you lock the folder because your password is stored inside of it in plain text. :D Or you could always use one of those programs that compiles a batch file into a .exe. But either way, it wouldn't be too hard to hide it, as long as those using this method are aware that it's necessary for any real level of security.

rvalkass is right though, linux for the win! :o








   Sun Feb 10, 2008    Reply         


Thanks for share this info.

   Sun Feb 17, 2008    Reply         

^_^ Crack for such Protection(Windows Environment)

1)Cmd to the location of Folder
2)cd <name of folder>
there u go

ur in the Folder

   Tue Apr 15, 2008    Reply         

QUOTE (john_engit)

:P Crack for such Protection(Windows Environment)

1)Cmd to the location of Folder
2)cd <name of folder>
there u go

ur in the Folder
Link: view Post: 385085

There is no need for that, crashcore pointed out the flaw with this; the password is stored in the bat in plain text!

Is there a way to add md5'ing into this script, such as use a tool to get the md5 of your password and put that in the bat file instead, use it to compare the md5 of any code entered with the "correct" one? ^_^

   Tue Apr 15, 2008    Reply         

Windows shell commands?
If you enabled: show hidden files and folders and extensions, you can just change the folder name, and then you can access the folder.


it will show up as :
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}

the ".{21EC2020-3AEA-1069-A2DD-08002B30309D}" after the control panel is a reference to a registry key.

   Tue Apr 15, 2008    Reply         

wow thats an awesome script man!!! Thanks a lot!

But it would have been great if the password you type to unlock the folder show up as '***' characters instead of the actual letters.
And also the problem of the password being found out if you rename the file as a .txt file again

and btw, in ur first line what is the 'Quote: cls' for anyway?? Isn't it unnecessary for the script to run?

   Sun May 11, 2008    Reply         

i have one solution
Best Way To Lock A Folder Without Using An Application

Replying to Zageteconvert batch file into exe file by converter

-feedback by kashish

   Mon May 12, 2008    Reply         

Oh, that'll be nifty. My teacher was trying to find a way to keep students from messing with each other's term papers that were downloaded on her computer. They use her computer more than she does. :/

   Thu May 15, 2008    Reply         

QUOTE (Zagete)

Steps:

1- make a new folder ( name it as you like )
2- inside this folder make a (.TXT ) file & copy the following inside it:

CODE

Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


3- After u copy the command go to line ( 23 ) u will find "password here" Change to any password u want.
4- After that, save it as locker.bat (the txt file will change to an application file)
5- Now go back to the folder & u will find a this locker.bat file.
6- Click on it & u will find a new folder called Private.
7- Now copy what u want in it & after that go to locker.bat by clicking it, it will open and ask you if you want to lock your folder? Y/N ?
8- Type Y
9- If you want to UNLOCK your folder, go open locker.bat & type your password and the Private folder will be made visible again.
Tested and working :]

Hide stuff from strangers, lol... :(
Link: view Post: 373080



Man it works , i had tried it once,,but that gotlockedbecozi didnt know about the password thing

   Mon Jun 16, 2008    Reply         

goes nicely but 1 problem
Best Way To Lock A Folder Without Using An Application

Replying to Zagete
There is only 1 problem I have found with your program and that is that no matter wat poass I put in it always revels my hidden stuff wats the go there?


-reply by milky

   Mon Sep 15, 2008    Reply         

i noticed one more thing i did not have to put the pass at at all. It was already displayed while unlocking, Maybe a fix will do... I'll try it and report it to u

   Fri Sep 26, 2008    Reply         

Thanks for the tutorial but it does not lock the folder properly, I think you would definitely need some software to do this properly.

   Fri Jan 2, 2009    Reply         

Dear friend thank you very much for such a highly useful pieace of information for all of us here. It was really usefull for me atleast. Thanks once again. 

   Sat Jan 3, 2009    Reply         

This looks pretty goodm BUT I don't think it's a good idea to store the password in a file. Maybe you could md5 it or something or perhaps store the password in another file?
Or compile it so it's an .exe file.

It's also the problem with some encrypting programs that the password isn't protected, I cracked an encrypted file on my own compiuter and I have no advanced coding skills whatsoever.

   Sat Jan 3, 2009    Reply         

great!! my porn files must be hide within the folder ive just created.. thanx!

   Mon Jan 5, 2009    Reply         

The idea is good and working, but as already pointed out, the password is in plain text and is readable. Even if you make it an EXE file, there is every chance to delete the file itself. The folder isalso deletable.

   Tue Jan 6, 2009    Reply         

Password ProtectionBest Way To Lock A Folder Without Using An Application

hey

It's a nice way to hide a folder but everybody who knows what a .Bat file is can change the password. In order to prevent that I have a hint.

Just convert it into a exe file. The converter I used is free and is called "Bat to Exe Converter 1.5". You can download it on

http://download.Cnet.Com/Bat-To-Exe-Converter/3000-2069_4-10555897.Html

Have fun and thx for the bat file.

   Thu Mar 12, 2009    Reply         

I have created the folder and works fine but when i have erased the contents..Best Way To Lock A Folder Without Using An Application

I can not erase this folder now, how can I erase this folder, I have deleted everything in the private folder and the bat file too

MPHK

-reply by mphk

   Thu Aug 20, 2009    Reply         

my problem is anyone can edit my bat file...Best Way To Lock A Folder Without Using An ApplicationI tried to edit my friends bat file.. I just right click the file then I select edit and I saw his/her password and when I changed it and then save it works..

   Sat Aug 29, 2009    Reply         

Unlock, encrypted folder..Best Way To Lock A Folder Without Using An Application

hi, 

I have a folder which is locked (encrypted) with this method and I forgot the method how did I lock that folder..,

is there a way to unlock that folder.?  :O

-reply by Xaasha

   Sat Aug 29, 2009    Reply         

security breachBest Way To Lock A Folder Without Using An Application

this works smooth. But the only problem is that if you rename that folder and place any character afterwards it changes to folder name and open like normal folder.

-reply by nighthawk

   Fri Oct 16, 2009    Reply         

Thank you ^_^

Thank  you ~I have learned a new thing !

-reply by Jenneyfer_cat

   Sat Oct 17, 2009    Reply         

It really worked great post Zagete, but what if someone delete the locker.Bat file as it allows the user to delete the file, otherwise great post dude.

Thnx

-reply by good

   Tue Oct 20, 2009    Reply         

but this trick don't work on windows vista... I hav tried it many times 

-reply by bhuppi

   Thu Nov 12, 2009    Reply         

That's cool, its even better than the alt+255/alt+0160 "hack"

   Fri Nov 13, 2009    Reply         

Quickly Post to Best Way To Lock A Folder Without Using An Application  w/o signup Share Info about Best Way To Lock A Folder Without Using An Application  using Facebook, Twitter etc. email your friend about Best Way To Lock A Folder Without Using An Application Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print


Similar Topics:

How To Lock A Folder And Keep It Pr...

okay people i had a member ask earlyer how to lock folder and or a file and i had the answer, and i though to my self after i had written it maybe everyone may need to do thsi so ill post it into a tutorial, okay so i wrote this for someoneelse earlyer and am posting it here for all to see: ...more

   28-May-2006    Reply         

How To Add An Application To The Ri...

Here is how to add any application to the Context Menu when you right click on any Folder. This way you do not have to always go to the Start Menu. When you right click on any folder, you can have access to that application, the same as using Sent To. 1. Open RegEdit 2. Go to HK ...more

   03-Nov-2007    Reply         

Locking A Folder With No Software A...

I know that there may be some tutorials like this in the web, but I made this one a very long time ago . Simple Copy-Paste-Rename-Store-and LOCK. can work anywhere ...more

   06-Sep-2008    Reply         

Devcamp Bangalore 1    Devcamp Bangalore 1 (0) (0) Mouse Off-road 2.17   Mouse Off-road 2.17