neee a solution urgent

Status
Not open for further replies.

krishnansurya

Broken In
:!: i want a software that enables us to add password to a folder so that whenever that particular folder is opened the password is prompted. :!:
 

ramank

Broken In
See this:
*www.thinkdigit.com/forum/viewtopic.php?t=8837&highlight=
Is it so urgent that you cannot do a search in google or here? :wink: :wink: :)
 
OP
K

krishnansurya

Broken In
re

actually i am creating a software cd in which a folder named soft is there what i want is that whenever a user clicks to open the soft folder a password should be prompted
 

saROMan

QA Juggler
well bro..if ur using 98 / 2000 then herz what u can do.....


Right-click on empty space in the folder which you want to protect and
select CUSTOMIZE THIS FOLDER, then choose CREATE HTML DOCUMENT FOR THIS FOLDER. Once the document is opened in Notepad, scroll down until you see
<script language>="JavaScript">
Insert a blank line after this string.

Then insert the following text.
var pass = prompt("Enter the password")
if(pass != "YOURPASSWORD")
{window.location="C:"}
Hit the Enter key on your keyboard
Put a password in the place of YOURPASSWORD but leave the quotes. Save the document, exit Notepad,
refresh the folder (or hit F5), enter your new password, and the next time
you try to enter that folder,
you'll be prompted for your password. If you enter a wrong password you'll end up in C: drive!

This works on Windows 98 and 2000.
 

indrajit

Journeyman
@saROMan: Cool man! Thats a gr8 tip. Thanx!

I use PC Security for the purpose, its great. You can get the demo version here
 

tuxfan

Technomancer
WOW!! What an info saROman :idea:!! That a lovely tip. Surely try it. Where were you since so many days? Why did you not share this earlier? ;) :D
 

tuxfan

Technomancer
@ saROman : BTW, this tip will work only if someone uses Windows GUI to open the folder. If someone goes to DOS prompt and goes to the folder, the contents will be easily visible (and copyable) with a simple dir (and copy) command :(
 
Status
Not open for further replies.
Top Bottom