htaccess for Windows server

Hi I need to password-protect a folder that resides on a Windows server. is there an easy way to do this, maybe something like htacess??

Thanks!
InspireGroupAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jhshuklaConnect With a Mentor Commented:
what server are you using - IIS or something else?
On IIS you can navigate to your site, go to your particular folder, open Properties, and modify settings in Directory Security tab.
0
 
DireOrbAntConnect With a Mentor Commented:
You also need to change the physical file permissions to match what you put there.
So if you set it for Windows Auth in IIS, make sure you:
1) Create account(s) (or use an existing one(s))
2) Go to the physical folder/files and apply those permissions, making sure IUSR_, Guest and such are NOT there.
0
 
Sam PanwarConnect With a Mentor Sr. Server AdministratorCommented:
Hi,

1. Go to Desktop > click on Mycomputer> Right click > Manage
2. click on user and groups > add user which you want to use for password protect
3. Enter User name , password , Description : the domain name
4. Go to IIS > website> Select your website > Select folder or directory on which you want to protect > right click > properties >directory security tab> Edit> Enter the user name and password > enable Basic authentication
5.Go to folder >Right click on folder or directory > permission > add the user and set permission as read,list folder contecnt,Read and execute

0
 
Jeffrey Kane - TechSoEasyConnect With a Mentor Principal ConsultantCommented:
There's a great free program that will handle this for you:  http://www.troxo.com/products/iispassword/

Jeff
TechSoEasy
0
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.

All Courses

From novice to tech pro — start learning today.