Link to home
Start Free TrialLog in
Avatar of mindq
mindq

asked on

i am using windows'98.... Can I set Password to a folder?

I am using win'98.... I am not able to set a password to protect others from accessing the folder. Can I set a password to the folder.  If it if possible kindly let me know.
Thank you
sudheer
Avatar of Wadski
Wadski
Flag of United Kingdom of Great Britain and Northern Ireland image

Right click on Folder you want to password  and choose Sharing....

If sharing is not there then do the following:

==========
(You will need installation CD)

Right Click on Networking
Choose Properties
Click On Sharing
Click On Share My Files
Click On OK
Click On OK

PC will need to be rebooted at this point.

Right click on Folder you want to password  and choose Sharing....
==========

Now select share this folder as 'read only' or 'full access' and set a password in the password section at the bottom.
The folder is now shared on the network but is passworded.  Although if the other user is accessing it from the same PC then they will still be able to see the contents....


Win9x cannot password protect specific files/folders from a user on the same PC. Only NT/2000/XP systems with NTFS files system can do that.
You could save everything to a ZIP file and password protect that ?
After all, WinZip is free.
Avatar of Arrummzen
Arrummzen

You are in luck. I just happen to know how to do this.
This statment is false "Win9x cannot password protect specific files/folders from a user on the same PC. Only NT/2000/XP systems with NTFS files system can do that. "
How to password a folder on windows 98 useing HTML

add to the foler a file named desktop.ini
Add this text to the folder -
[ExtShellFolderViews]
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262}
Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
[.ShellClassInfo]
ConfirmFileOp=0
[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=file://Folder.htt
Second you have to right click someware in the folder. Select "customize this folder" and add this after the first line you find "javascript" in.
var pass = prompt("Enter the password")
if(pass != "PASSWORD")
{window.location="C:"}
This should keep your mom/bos/IRS out of your folder (ok it mite not work with the IRS) It won't someone like me out eather but its better then nothing.
Thank you for your time,
Arrummzen
As for the other technique,, they could simply access the folder via DOS. If you just want to protect a file, you could write and compile a Visual Basic program such as:

OPEN filename FOR BINARY ACCESS READ LOCK READ AS #1
Do
IF Inputbox("Password")=password then CLOSE #1: exit do
Loop
Hey people,

No comment has been added in roughly 1 year, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question
be PAQ'd and pts forfeited.
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Zenlion420
EE Page Editor
ASKER CERTIFIED SOLUTION
Avatar of YensidMod
YensidMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial