Solved

Locking web files on windows server running apache

Posted on 2006-06-17
3
173 Views
Last Modified: 2010-03-04
Guys,

I am running apache tomcat on a windows SBS 2003 server for my website.

I would like to secure a folder so that a username and password are needed to gain access.

eg http://www.ota.com.au/ota_products/data/ 

Thui a file on the server how to I lock it so i can issue a password and username so people can get in?

Thanks
0
Comment
Question by:Adamylo
[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
3 Comments
 
LVL 15

Accepted Solution

by:
periwinkle earned 250 total points
ID: 16941779
Under Apache, you use .htaccess files in order to control access to directories (aka folders); sometimes, windows has problems with files that begin with a period.  Luckily, you can change the name of this file.  See:

http://apache-server.com/tutorials/ATusing-htaccess.html
http://www.ozoneasylum.com/21005 
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

740 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