treasurehuntbob has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on how to set user and password for site thru cgi

Replies are listed 'Best First'.
Re: how to set user and password for site thru cgi
by merlyn (Sage) on Mar 24, 2001 at 04:23 UTC
      I assume it is connected to http headers; http request; cgi; get; post HELP HELP and http_cookie, cookies, extracting from $ENV variable set cookie question. It certainly looks like he is trying to be able to give a fake URL where someone will hit his login screen, he collects the name and password, then he redirects them to the real site with none the wiser.

      However the basic idea is one which would be useful if a collection of sites wanted to allow someone to login to one of them and then "carry" that login to other sites in the ring. But I would expect someone who wanted to do that to be describing what they are doing rather differently. (Note the "tricking the site" description.)

        Let's give him the benefit of the doubt (but no more information!) until he explains himself.

        I can imagine legitimate purposes, most involving bypassing "the right hand doesn't know what the left is doing" breakage internal to organizations. "Oh, yeah, so-and-so had access to that intranet site, but since they left nobody can find the keys. Just work around it any old way you can."

        That does happen.