PortalForumsAwardsSearchClubsDonateRegister Today!



Go Back   Sakurahana > Sakura's Avenue > Tech Department > How To Lock a Folder Without Using any Software

Tech Department
Discuss latest technology here, anything related to Tech topics, news, about softwares, codes, etc. Source providing the news about gadgets, technology, phones, mobile, news, reviews and more. No download links allowed here, No Warez!

Post New Thread  Reply
 
Thread Tools Display Modes
Old 08-27-2008, 04:58 PM   #1 (permalink)
用力的微笑 用力去生活 用力的相爱 然后用力遗忘
 
Pleasures's Avatar
 
Group: Aiko
Join Date: Mar 2008
Posts: 101
Gender: Goth Loli
Reputation Points: 15
Pleasures is on a distinguished road
Default How To Lock a Folder Without Using any Software

How To Lock a Folder Without Using any Software

Simple Copy-Paste-Rename-Store-and LOCK. can work anywhere on any computer.


NO Software Required. Simple Lock your Folder, with these Few Steps. Ive tried it, and works great. Ive only tried it on Windows Xp, SP2.
IM not sure, if it works on other OS as well. but its harmless, so try it out.

Steps:

1- make a new folder ( name it as you like )

2- inside this folder make a ( TXT ) file & copy inside it this (the entire thing)

Code:
Quote:
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 Commanding go to line 23 (or try using shortcut- CTRL+F and type password to locate the line) u will find this word : password here (Change it with any password u like.) is :

eg: if NOT %pass%== narnia1234 goto FAIL
//so ur password here becomes narnia1234 .//

4- After that go to ‘save as’ & name this file as "locker.bat "

5- Now back to the folder & u will find a ( LOCKER ) commanding.
(locker.exe)

6- Double Click on it & u will find a new folder (Private )

7- Ok ,, now copy what u want in this "private Folder" & after that come out of the folder, and Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?

8- Type Y. your private folder will dissapear.

9- If you want to UNLOCK your folder ,go to (locker) & type your pass and you will see your private folder.

it not only hides the fodler, but incase, u unhide all files... and try opening it without entering password, it'l take u to the control panel...

Also, if u want to store files on your Pen-Drive, u can use this script. No Software Required

Incase u delete your Locker file (just in case), then u can make a new one (but with the same password) and open it from that.

Alternatively, u can keep this locker file somewhere else, and when u want to open ur folder, only then bring it back to that place...


[Removed by Admin - Please dont use imageshack.is to host images]
 
Reply With Quote Scroll up!
Old 08-27-2008, 06:07 PM   #2 (permalink)
風紀委員
 
xibo's Avatar
 
Group: Takara
Join Date: Jul 2008
Location: my dream world
Posts: 3,281
Gender: Male Baka
Reputation Points: 184
xibo has a spectacular aura aboutxibo has a spectacular aura about
Default Re: How To Lock a Folder Without Using any Software

>.>"

somehow i always find myself posting negative comments into your threads
please go and read what a lock file is before you use the term. and then go ahead and look what a hash key is ( tip, it s the thingy youre using in order to store whether your directory is "locked" )

aa, and once again, you messed with the formating of your post
furthermore you are NEVER supposed to have an as-typed password *anywhere* outside of the function that processes the input and the one that encrypts it, unless you are the only one using that program. as i said, encrypt it and compare the resulting crypts instead.

while it s generally not neccessary to write a program for a job a script should do, it's *never* good to use a script for a task a real program should do ( since you didn t change anything about the directory's physical data it is still accessible once you get a file handle which can be done pretty easy in the security-hole outflowing xp )


2009-01 uploads:
☆akasaka
☆haruka naru toki no naka de - hachiyoushou
☆haruka naru toki no naka de - kurenai no tsuki
☆haruka naru toki no naka de - maihito yo
☆telepathy shoujo ran

★all of marimite that gets released by chihiro
★all of zoku natsume yuujinchou that gets released by bss
☆akichan once the last two episodes get subbed

Last edited by xibo; 08-27-2008 at 06:10 PM..
 
Reply With Quote Scroll up!
Old 08-27-2008, 09:36 PM   #3 (permalink)
~Wonder Newbie~
 
lycanbryan's Avatar
 
Group: Aiko
Join Date: Mar 2008
Location: Philippines
Posts: 114
Gender: Male Human
Reputation Points: 33
lycanbryan is on a distinguished road
Default Re: How To Lock a Folder Without Using any Software

Mr/Ms. Xibo is right. This "folder lock" your referring to isn't really secure. I don't think it is even a lock mind you.
furthermore anyone inclined to computers can easily bypass this method.

If you ask me Encryption is the best kind of protection for ordinary users if you know how to use it properly.
(My Thesis Project nihaha ^^)

uhm Mr/Ms. Xibo are you a ComSci student/graduate? You know quite a lot. ^^
 
Reply With Quote Scroll up!
Old 08-28-2008, 03:45 PM   #4 (permalink)
用力的微笑 用力去生活 用力的相爱 然后用力遗忘
 
Pleasures's Avatar
 
Group: Aiko
Join Date: Mar 2008
Posts: 101
Gender: Goth Loli
Reputation Points: 15
Pleasures is on a distinguished road
Default Re: How To Lock a Folder Without Using any Software

Quote: Originally Posted by xibo View Post
>.>"

somehow i always find myself posting negative comments into your threads

quite true


[Removed by Admin - Please dont use imageshack.is to host images]
 
Reply With Quote Scroll up!
Old 08-28-2008, 06:23 PM   #5 (permalink)
風紀委員
 
xibo's Avatar
 
Group: Takara
Join Date: Jul 2008
Location: my dream world
Posts: 3,281
Gender: Male Baka
Reputation Points: 184
xibo has a spectacular aura aboutxibo has a spectacular aura about
Default Re: How To Lock a Folder Without Using any Software

Quote: Originally Posted by lycanbryan View Post
Mr/Ms. Xibo is right. This "folder lock" your referring to isn't really secure. I don't think it is even a lock mind you.
furthermore anyone inclined to computers can easily bypass this method.

If you ask me Encryption is the best kind of protection for ordinary users if you know how to use it properly.
(My Thesis Project nihaha ^^)

uhm Mr/Ms. Xibo are you a ComSci student/graduate? You know quite a lot. ^^

The main problem of the folder 'lock' - from a programming point of view - is the way the 'fact' a folder is 'locked' or not is stored...

... from a security pov of cause more comes in mind ...

I am not a Computer Science student, but i used to be once ( i switched to Math ), and i also used to program since more then a decade so i kind of was able to see glibc ( gnu counterpart to msvcrt but includes basic functionality like network io , too ), binutils ( programs that handle program execusion and runtime stuff like DLL loading ), kde ( karl's desktop environment, a graphical user interface that is NOOOOT oriented on windows at all, especially doesn t kde4 look like vista and consume same the much memory ( in fact it consumes more ) ... -.- ) and other interresting projects develop since they were small and easy to understand ( nowadays kde might be more or less easy to get started with but the others are all so bloated developed it takes you months to get in )


2009-01 uploads:
☆akasaka
☆haruka naru toki no naka de - hachiyoushou
☆haruka naru toki no naka de - kurenai no tsuki
☆haruka naru toki no naka de - maihito yo
☆telepathy shoujo ran

★all of marimite that gets released by chihiro
★all of zoku natsume yuujinchou that gets released by bss
☆akichan once the last two episodes get subbed

Last edited by xibo; 08-28-2008 at 06:29 PM..
 
Reply With Quote Scroll up!
Reply Post New Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

All times are GMT -7. The time now is 03:56 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Sakurahana.com Anime Network - Anime, Manga, and Hentai Discussion and Downloads.
Creative Commons License
Sakurahana's Skin by Misuzu is licensed under a Creative Commons License 3.0 .
Sakurahana.com is a nonprofit organization
40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 62 63 64 65 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 87 91 93 94 95 96 97 99 100 101 102 103 104 105 107 108 109 110 111 112