How do you setup password protection on folders

I have windows xp with a workgroup setup. Service pack2 How do I password protect share folders? Does this protect the host computer from viruses.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This site has instructions on how to share a folder on your computer over the network.

When you get to the part about permissions, that is where you control who can and cannot access the share.
hope this helps.
You right click on the foler and choose sharing.  Once shared then you set security so that only certain users can access the folder.   This type of security helps in virus protection, but if a user that has the access to the folder logs in and somehow loads a virus then the files in that folder could get infected.  The best prevention in virus is a virus protection program.....and smart computing....only download things and run programs you know are ok.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Setting folder security does not fully protect the computer from viruses. This protects who can access particular folders on your computer, but your computer would still be very vulnerable if you did not follow security standards including making sure your system is up to date on patches, running updated AV software, and prefferably a firewall such as zone alarm as well as spyware detection programs.
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Hello tuckcorp =)

Check here,

HOW TO: Disable Simplified Sharing and Password-Protect a Shared Folder in Windows XP;EN-US;307874
You could also use an encryption program (that is free aslong as it is noncommercial use)

Good luck!
One caveate, if it's XP home, then you cna't disable simplified sharing, but you can still access the sharing and security tab, boot to safe mode, and log on as the admin
>>Does this protect the host computer from viruses
absolutly NOT, you need a good anti virus program, and good computing habits (don't open attachments, without scanning, don't open un-expected attachments, don't surf underground sites, etc)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.