Solved

Locking web files on windows server running apache

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

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

828 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