Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

password on folder for win98

Status
Not open for further replies.

marielouise

Programmer
May 17, 2000
1
CA
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.<br><br>Thank you for your help<br><br>Have a good day
 
Windows does not have anything built into it, to do this, but there are programs third party ones that I know of that will, there was a few small ones like magicfolder and what not, then there was this really cool security program(it even scrambled the EM singles put off by your monitor to keep people from spying on the content of your computer by reading the Electromagnetic signals given off by the CRT tube) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>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)
 
Yes, this is possable, and quite easy. Just follow these directions:<br><br>open up folder to be secured<br>go View&gt;Customize this folder&gt;Create or Edit an HTML document&gt;Next&gt;Next<br><br>this should bring up a file called folder.htt in notepad.<br>scroll down to the begining of the &lt;head&gt; section, and add this after the &lt;head&gt; tag:<br><br>&lt;script languag=&quot;javascript&quot;&gt;<br>var password=&quot;_enter_password_string_here_&quot;;<br>var answer=prompt('Whats the password?','');<br>if (answer!=password){location='file://C:\WINDOWS\desktop';}<br>&lt;/script&gt;<br><br>that is a simple password protection script.<br><br><br>REMOVAL-<br>1) Enter a DOS shell, and navigate to the protected folder.<br>&nbsp;&nbsp;&nbsp;Delete the file 'folder.htt'<br>Or<br>2) Open any folder, and in the location bar type:<br>&nbsp;&nbsp;&nbsp;c:\....FOLDER...PATH....\folder.htt<br>&nbsp;&nbsp;&nbsp;when the 'open with...' dialouge pops up, select <br>&nbsp;&nbsp;&nbsp;notepad, and delete the passsword protection<br><br><br>that should work <p>theEclipse<br><a href=mailto:eclipse_web@hotmail.com>eclipse_web@hotmail.com</a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>**-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.
 
The main flaw with that tho, is that it only works with windows explorer, and is not truely watched, just modifies how the windows explorer looks at it, however since that worked I have a question for you , can I do serverside processing for a folder, (like Active Server Pages?) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>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)
 
Hello Karl,<br>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..<br><br>Would you please tell me how come.<br><br>thank's again and have a nice day
 
I created a folder with win98 on the desk and did what you said about the script, the only thing it does is ask me a password, i put a password in and it gives me a message error that tells me that the http page i open is not available, but that's not what i want to do, i just want to secure a folder on win98 with a password.<br>Would you tell me if there is another way.<br><br>Thank's and have a nice day<br><br>Marie-Louise
 
To those using the script I posted earlier:<br><br>on the SECOND line of the script, you see this line:<br><br>var password=&quot;_enter_password_string_here_&quot;;<br><br>where it says <i>_enter_password_string_here_</i>, you are supposed to replace that with your password.<br><br>P.S. TO KB244- I don't know very much about asp, so I can't tell you.<br> <p>theEclipse<br><a href=mailto:eclipse_web@hotmail.com>eclipse_web@hotmail.com</a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>**-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.
 
thats OK ellipse, I'm still learning :}<br><br>also Marie, when&nbsp;&nbsp;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, :} <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top