Solved

Locking web files on windows server running apache

Posted on 2006-06-17
3
171 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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