Solved

htaccess for Windows server

Posted on 2006-07-06
6
1,610 Views
Last Modified: 2007-12-19
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!
0
Comment
Question by:InspireGroup
[X]
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
6 Comments
 
LVL 9

Accepted Solution

by:
jhshukla earned 125 total points
ID: 17059262
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
 
LVL 26

Assisted Solution

by:DireOrbAnt
DireOrbAnt earned 125 total points
ID: 17066422
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
 
LVL 18

Assisted Solution

by:Sam Panwar
Sam Panwar earned 125 total points
ID: 17067095
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
 
LVL 74

Assisted Solution

by:Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy earned 125 total points
ID: 17067131
There's a great free program that will handle this for you:  http://www.troxo.com/products/iispassword/

Jeff
TechSoEasy
0

Featured Post

Webinar: MongoDB® Index Types

Join Percona’s Senior Technical Services Engineer, Adamo Tonete as he presents “MongoDB Index Types, How, When and Where Should They be Used?” on Wednesday, July 12, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7).

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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