in reply to Forcing REMOTE_USER
From the CGI/1.1 Specification:
REMOTE_USER
If the server supports user authentication, and the script is protected, this is the username they have authenticated as.
Basically that means, that if your web-server enforces authentication to access the script in question, a browser who doesn't send accepted credentials will be denied access; if credentials are sent, it's up to the web-server to set the environment (of your script while executed) according to the specifications, which most servers will do...
Nevertheless it's up to you to code your scripts in a way, that they behave correctly under any possible circumstances; checking an env-var isn't that complicated after all :-)
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Forcing REMOTE_USER
by qadwjoh (Scribe) on Mar 09, 2004 at 13:59 UTC | |
by fraktalisman (Hermit) on Mar 10, 2004 at 23:35 UTC |