Password protection?

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
xz02Asked:
Who is Participating?
 
RoboBobConnect With a Mentor Commented:
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
 
neil_bertramCommented:
You can have an externally run cgi to do that. visit

http://xpointcgi.digiweb.com/
0
 
albberatCommented:

 ".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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.