password on folder for win98
password on folder for win98
(OP)
I would like to know if it is possible to put a password on a foler in win98, if it is possible how do i proceed.
Thank you for your help
Have a good day
Thank you for your help
Have a good day
RE: password on folder for win98
Karl
kb244@kb244.8m.com
Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
RE: password on folder for win98
open up folder to be secured
go View>Customize this folder>Create or Edit an HTML document>Next>Next
this should bring up a file called folder.htt in notepad.
scroll down to the begining of the <head> section, and add this after the <head> tag:
<script languag="javascript">
var password="_enter_password_string_here_";
var answer=prompt('Whats the password?',');
if (answer!=password){location='file://C:\WINDOWS\desktop';}
</script>
that is a simple password protection script.
REMOVAL-
1) Enter a DOS shell, and navigate to the protected folder.
Delete the file 'folder.htt'
Or
2) Open any folder, and in the location bar type:
c:\....FOLDER...PATH....\folder.htt
when the 'open with...' dialouge pops up, select
notepad, and delete the passsword protection
that should work
theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
RE: password on folder for win98
Karl
kb244@kb244.8m.com
Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
RE: password on folder for win98
i tried what you said and when i try to open a folder in win98 it gives me a box asking to write my password and when i do write my password it gives me and error message with a http page saying that the page i want to view is not possible, but i don't want to go to a http page juste open a folder that has some windows 98 documents ex: word,excell..
Would you please tell me how come.
thank's again and have a nice day
RE: password on folder for win98
Would you tell me if there is another way.
Thank's and have a nice day
Marie-Louise
RE: password on folder for win98
on the SECOND line of the script, you see this line:
var password="_enter_password_string_here_";
where it says _enter_password_string_here_, you are supposed to replace that with your password.
P.S. TO KB244- I don't know very much about asp, so I can't tell you.
theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
RE: password on folder for win98
also Marie, when you post a topic that you need help with, you can followup just by type in the box in the bottom here when you are viewing the post, that way you can keep all your answers, questions in the same thread, then you can post a different topic, just put it in a different thread, :}
Karl
kb244@kb244.8m.com
Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)