Solved

htaccess for Windows server

Posted on 2006-07-06
6
1,609 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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
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…

734 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