Solved

Locking web files on windows server running apache

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP temp path missing 4 49
browser caching 4 66
Logs to delete in Windows VCenter server ? 11 319
NGINX/Plesk  subdomain allow only 5 select ip addresses, deny everyone else 2 58
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
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…
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 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

12 Experts available now in Live!

Get 1:1 Help Now