password protect a folder

Posted on 2003-12-08
Medium Priority
Last Modified: 2010-04-11
Can someone please tell me how to password protect a folder in windows 2000. I want the user to access a folder based on his windows username and password

Question by:Aiysha
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +4
LVL 79

Expert Comment

ID: 9899437
Right-click the folder, choose Sharing.. Share it out, and in the Security Tab, identify the username that will have access to it.. You might want to remove the default "everyone"
If you are not on a domain, then you'll have to create a username/password on your win2k system that matches his windows username/password..
LVL 49

Assisted Solution

sunray_2003 earned 80 total points
ID: 9899842
Dear Aiysha,
Or you may want to get help from third party softwares like


www.winzip.com - has the capability to zip a file and get password protect

LVL 13

Expert Comment

ID: 9900218
Put users in group user can belong to multiple groups - create and share the folder - set folder NTFS security based on group.

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


Expert Comment

ID: 9902431

You will need to make sure your hard drive is in NTFS format. To do this, go to "my computer" and open the properties for drive c. Next to "file system" it will say either NTFS or FAT32. Start at step 1 if it says FAT32, at step 3 if it says NTFS

1. Open a command prompt (run cmd.exe)
2. Type "convert c: /fs:ntfs" and press enter. Follow the onscreen instructions until this process is finished.
3. Create a user on your computer with a user name and password of your choosing. This is done in the control panel "Users"
4. Right click the folder you want to protect, click properties, and select the "security" tab. Delete user "everyone" from access, and add the new user you have created.

That should work...


Expert Comment

ID: 9904318
Hey all those anserws are not anwsering the question:
He wants to encrypt the data on his drive to do that:
You partition must be NTFS, if it is just right click on the folder click on the button ADVANCED and then select check box
Encrypt contents to secure data, thats all.
You don't have t o remove or edit any groups,only  the owners of the stuff that is inside that folder will be able to read everything based on their accounts, when you do that, don't forget to do system state data backup, that's the only way to recover the files after system will go nuts on you.
Administrator by default will be recovery agent for all of those people, if you want to change that edit GPO.
Encryption is transparent for the user, so if it's big file you will have to wait a while to decrypt it.
Take Care


Expert Comment

ID: 9904479
HI Aishya,

     Password Protection was an option give by microsoft in windows 95/98. In 2000 it gave more secured option to add only the users u need. This is more secured than to  give a password to a folder and giving it to users. Because only the users you added will be able to to use the folder.

   As a Security Expert what I do is I just share a folder with access and give permissions with respect to user. I always trust this method and there has not been any loop hole till now

    If you are looking only for password protection of folder then you can go for some third party tools which u can get for some 20-30 dollars. I think you can try out for free also. Here are some links of third party tools




LVL 79

Expert Comment

ID: 9904498
I was not an English major in college (History, actually), but the question:
>how to password protect a folder in windows 2000

Is not the same thing as:
How to encrypt data in a folder in windows 2000

Seems like everyone wants a piece of the action on a simple question with a high point value.

Aiysha, please respond to the dialog and let us know if we are helping your or confusing you...

LVL 13

Expert Comment

ID: 9905066
The question also stated "based on his windows name and password".  

Logically, each user has only one name (userid) and password assocated with that ID.  If the folder is protected based on that only that one user has access to that folder and no one else.  NTFS security already take care of that.

If more than one user can access the folder that it cannot be protected based on the userid and password, unless all users use the same ID (guest) and password to get to the folder.

What does that leave you with?
1)  Share the folder using the hidden attribute, the $ sign after the share name.
1-  Give the share name to users who need access - NOT VERY GOOD.

2)  Share the folder, use NTFS security and add individual users.... TOO MUCH WORK.

3)  Share the folder, put users in group, use NTFS security and authorize group.... same as above - less administrative work....

4) You can create more head-aches for yourself by creating an FTP site, requiring users to login with userID and password and then point them to appropriate directory.  It's the same as #2 but looks different to users (it requires user name and password to allow access to directory... blahhhh!)


Expert Comment

ID: 9905640
She didn't say that this computer is even on the network, with encryption she will have one to one mapping of the files and users based on username and password, with NTFS by default everyone will have an access to the folder, I think she wants users to manage their own files with minimal work done and high security.

Author Comment

ID: 9920960
wow, quite a discussion, actually I received more than what I asked for.. Gnart I really appreciate your point wise solution.. and like you mentioned in point 4 I would like to use the password protect  folder feature on the ftp server..... I created few users and removed access to everyone and selected the desired user.. but when I log on the ftp site using new users name I am unable to see any folders... any solutions???
LVL 13

Accepted Solution

Gnart earned 1920 total points
ID: 9921118

Not a bad way to go, I need a little more info on your ftp, How did you setup the FTP site (IIS, 3rd party)?   You should be able to do it all using the following article (hint: go to the bottom of the article for the list)


Best is to setup virtual directory and manage them that way.  If you didn't setup virtual directory then check NTFS folder security..... Depending on what you are trying to do, users can also use ftp via the web browser to make it easier for users.

Virtual directory allows lots of flexibility on managing those directory.  But as I said you will have additional headache in managing the directories.  Secure your network.

LVL 13

Expert Comment

ID: 9921765
Still not sure what you are trying to do in terms of security.  What are your requirements:

1) Multiple users to a specific folder (group NTFS)
2) One and only one user to multiple folders (NTFS)
3) User to multiple folders - some folders are shared with others (group NTFS)

Not sure why the above don't meet your requirements.  It results in the username + password (when s/he logons) which enable what folder(s) the user can or cannot see.


Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question