Sunday, April 14, 2013

How to secure a folder with a password !

          You have some precious data , very important and you hope that nobody has the access to it , today I have a very clever solution and witch makes a real computer geek. My solution is to make keyword to access to that folder.
          First you have to create you folder by clicking the right button of the mouse there will be a list where you can find new/folder:



         Then you go to the" bloc note" //windows button /search ->type bloc note//
copy this code in it :
----------------------------------------------------------------------------------------------------------------
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 Etes vous sure de vouloir bloquer les fichiers Y=Oui N=Non(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 Bien Bloquer GG
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

---------------------------------------------------------------------------------------------------------------- change the selected words by your password
then save it as "password.bat" into your folder


go to your folder you will find a folder called "private" and a bat file called "password"
put your valuable data into "private" , open "password"

You folder content
 there will be a message telling if you want bloque your file type "y" if yes.


you will notice that the private file disappear  well congratulation your datas are secure

        Now if you want to access to your data open the password file it will ask you the password type it


and here is the private file appear again .

Good luck and remember we're here for you. If you stuck feel free to comment and ask . See you in an other Geex topic.

No comments:

Post a Comment