Solved

htaccess for Windows server

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CGI takes almost 2 minutes to load using thttpd 20 43
503 Service Unavailable Error for a service in IIS 7.5 2 108
How to switch email hosts (part 2) 11 65
Problem to go to page 12 81
This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now