[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference terri::web_authoring

Title:Welcome to WEB_AUTHORING
Notice:Before writing, please check for an existing topic
Moderator:VAXCAT::LAURIE
Created:Tue Mar 05 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:186
Total number of notes:1479

166.0. "How to Password protect a link?" by NAC::TRAN () Sat Mar 15 1997 00:07

    Does anyone have a suggestion for what I'm trying to do:
    
          Web Server: IIS 3.0 /NT 4.0
          Editor:  Frontpage97
    
        I am an creating a "Homepage" for the general public access.  But I
        would like to link from the Public site to a "private" [password]
        protected page.  What is the best method of doing this?  I want to
        be able to just supply a username & password.
    
        Thanks in advance for any help/advice.
    
        -thanh
T.RTitleUserPersonal
Name
DateLines
166.1did I understand what you are doing correctly?VAXCPU::michaudJeff Michaud - ObjectBrokerSat Mar 15 1997 01:438
> I am an creating a "Homepage" for the general public access.  But I
> would like to link from the Public site to a "private" [password]
> protected page.  What is the best method of doing this?  I want to
> be able to just supply a username & password.

	If you're just providing a link to the other site, just link
	to it.  The other site is the one that will ask for some
	authenticating information ....
166.2a newbie is also wondering....KANATA::ZUTRAUENalways lookin' to learnWed Apr 16 1997 01:4511
    Hi, I'm wondering also.....
    
    re -.1
    
    But how would the owner of the protected page add password access?
    Is there a java-applet avail to do this? 
    Or is this feature avail. in some of the authoring tools?
    Where would the pasword/user table be stored?
    
    Thx!
    Pete
166.3.htaccess ??45862::wazock.lzo.dec.com::taylor_mWed Apr 16 1997 14:097
Myself, I'd put the 'private' page in a subdirectory and
set that directory to have authorisation required.
I use Apache and all it needs is a .htaccess file in that 
directory with user names. I've no idea how IS handles this.

martin

166.4WHICH SERVER?CIM2NI::CROSBYWed Apr 16 1997 18:026
If you are using IIS, you set priviledges using NT file manager.

I suppose you could get a little fancy by using cookies to let the server
recognize an authorized viewer the second or third time around.

gc
166.5javascript password protection45862::16.194.64.204::watsonOK, whats todays long term strategy?Thu Apr 17 1997 14:136
Check out http://junior.apk.net/~jbarta/weblinks/gate_keeper/index.html
for a simple JavaScript password protector.  It will onyl allow one 
password (the filename of the page) but OK for a quick and dirty solution 
if you dont have privs. to do cgi or administer the server.

-- Rob