Solved

Password protection?

Posted on 1998-06-15
3
221 Views
Last Modified: 2013-12-25
Hi, we are using Netscape smart suite on NT as web server, I want to know how to
set up password protection, not a Perl or java one, but the one you met when
you try to enter experts exchange home page.
Thank you.
Shane
0
Comment
Question by:xz02
3 Comments
 
LVL 1

Accepted Solution

by:
RoboBob earned 30 total points
ID: 1858351
The protocol is called "htaccess", some general information about htaccess is available from http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html, how you use it on your server would depend on the server software you are using, but you should be able to search the server documentation for 'htaccess' and find the answer...
0
 

Expert Comment

by:neil_bertram
ID: 1858352
You can have an externally run cgi to do that. visit

http://xpointcgi.digiweb.com/
0
 
LVL 1

Expert Comment

by:albberat
ID: 1858353

 ".htaccess" file RoboBob is saying is valid only under NCSA and Apache web server.

 ".htaccess" in this experts is as follows:

ErrorDocument 401 "Not authorized ...

AuthUserFile /var/www/webdocs/admin/.htpasswd
AuthName Enter your password at Experts Online
AuthType Basic
<Limit GET>
require valid-user
</Limit>

".htpasswd" is a file that contains users and passwords.

 In NT the easiest way is by installing Apache for NT but you are going to miss the a lot of things from what the MS Information Server offers. In NT this security is offered by setting the share on each individual directory(this exclude the subdirectories for that directory) on the service you want(in this case WWW). Set them there that is it.
 
 Good Luck ...
 
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

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