Re: comments page with multiple passwords

From: Andrew Murray (SPAMadBUSTERmurray_at_iinet.net.au)
Date: 04/20/04


Date: Tue, 20 Apr 2004 20:08:00 +0800

Yes a discussion forum bulletin board is what you need - each person who signs up
has to sign up with their own unique password (or do you mean you want people to
express their interest and YOU give THEM a password ?

I think you're referring to the htaccess feature of Unix/Linux servers - it gives
some protection but it is not foolproof - it pops up the dialogue box you've
probably seen elsewhere : "Enter Network Password and Username" type thing.

try a search in Google on .htaccess that is, a fullstop followed by the word
htaccess (no spaces) and find out what this is and how to use it. This way it
creates a protected folder on your web server, you have to put usernames and
passwords in the htaccess file or htpasswd file and only those with a correct
username and password will have access into the folder.

The drawback is it only works once you can't 'backtrack' out of the secure page
and then have the logon box pop up again the only 'logoff' method is to close
down the browser, then start it up again go to the secure page and it will prompt
again for the logon., i.e. the first time and there is no "log off" apart from
closing down the browser. it is *fairly* secure but you might need something
more if you're too concerned about "undesirables" getting in.

to make it work you point the hyperlink to a html page inside the protected
folder for it to make the dialogue password box come up.

I hope this explains it a bit (might be a little confusing).....but to a google
search for more info.

Andrew

PS See my other post regarding discussion forums.

"Brenda Kerr" <bkerrmom1@earthlink.net> wrote in message
news:841BF29C-3BBF-4EA3-9B4C-89440BB516A2@microsoft.com...
> Maybe I didn't state clearly what I am looking to do. I want a way to let
people send comments but only those invited and not in a way that everyone can
read what is posted but private comments to the site for the site coordinator to
read and reply to (which can just be by sending them a letter or emailing them a
response.) We do not want to give an email address but I am thinking a page that
is username/password protected that has a comments box they can put their
comments into and then hit send. This could go to an email account or a database
but I do not want the address to be public.



Relevant Pages

  • Re: using php to accesss .htaccess protected directories
    ... I don't want to give out the master username and password to the directory, and I don't want to setup .htaccess with one username and password per user. ... I have a database of users and want to write a script so that once the users have logged in they can access the protected directory. ... If so, I don't believe that is possible, at least not with .htaccess protection. ...
    (comp.lang.php)
  • Re: using php to accesss .htaccess protected directories
    ... I don't want to give out the master username and password to the directory, and I don't want to setup .htaccess with one username and password per user. ... I have a database of users and want to write a script so that once the users have logged in they can access the protected directory. ... If so, I don't believe that is possible, at least not with .htaccess protection. ...
    (comp.lang.php)
  • Re: [PHP] How do YOU initialize the form variables?
    ... htmlentities has absolutely ZERO protection against SQL Injection. ... and/or HTML). ... //it depends on YOUR business needs for a username ...
    (php.general)
  • RE: Weird Windows logon attempts
    ... I have seen this pattern on repeat occasions and is indicative of virus ... protection on the Windows systems, make sure it updated and running. ... The username has been changed to USERNAME to protect, the hopefully, ... security681 NT AUTHORITY\SYSTEM The logon to account: ...
    (Incidents)
  • Re: Protected File Downloads
    ... Erwin Moller wrote: ... If their username is a unix username than .htaccess could be of use. ... If the users are unrelated to systemusers, you'll have to use PHP to deliver the file. ... either place it before the website root directory or protect the directory with .htaccess. ...
    (comp.lang.php)