Solved

htaccess for Windows server

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Htaccess - if subdomain "dev." 2 78
CFFILE upload help 98 158
Has my website been infiltrated? 21 66
apply ddos protection on all network interface 2 113
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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