basic auth with url redirection in WINXP IIS 5.1

basic auth with url redirection in WINXP IIS 5.1

am 17.09.2007 22:12:19 von Kazi

I've winxp sp2 with IIS 5.1. I want to enable basic auth: on my virtual
website which is redirecting to a diff: URL. Currently the fwding of url
works without asking any usrname/pswd even though Anonymous is disabled and
Basic auth is enabled. However if I select "A dir located on this computer"
and select a path then while accessing the virtual website, I prompts me to
enter a usrname/pswd.
Is there a way to get that username/pswd prompt while " A redirection to
URL" is selected in virutal dir:
Any suggestion is appreciated.

Thnx

Re: basic auth with url redirection in WINXP IIS 5.1

am 17.09.2007 22:34:26 von David Wang

On Sep 17, 1:12 pm, kazi wrote:
> I've winxp sp2 with IIS 5.1. I want to enable basic auth: on my virtual
> website which is redirecting to a diff: URL. Currently the fwding of url
> works without asking any usrname/pswd even though Anonymous is disabled and
> Basic auth is enabled. However if I select "A dir located on this computer"
> and select a path then while accessing the virtual website, I prompts me to
> enter a usrname/pswd.
> Is there a way to get that username/pswd prompt while " A redirection to
> URL" is selected in virutal dir:
> Any suggestion is appreciated.
>
> Thnx



Do you want the user to login against your XP IIS5.1 and then forward
the user onto the real URL to access?

If so, then that authentication scheme seems insecure to me. And if
you don't want to authentication against XP, then you also don't want
to do this.

In other words, I don't understand what you want to accomplish, but
what you are trying to do does not make sense.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: basic auth with url redirection in WINXP IIS 5.1

am 17.09.2007 23:04:01 von Kazi

I want to auth: on same XP machine within its local users and once auth done
then the real url should load. I know it may not make sense but it's hard for
me to explain the scenerio. Just ignore the secuirty issue for a moment or
even whatever my scenerio is. Do you think, it's possible to enable basic
auth: along with url redirection.

Thnx

"David Wang" wrote:

> On Sep 17, 1:12 pm, kazi wrote:
> > I've winxp sp2 with IIS 5.1. I want to enable basic auth: on my virtual
> > website which is redirecting to a diff: URL. Currently the fwding of url
> > works without asking any usrname/pswd even though Anonymous is disabled and
> > Basic auth is enabled. However if I select "A dir located on this computer"
> > and select a path then while accessing the virtual website, I prompts me to
> > enter a usrname/pswd.
> > Is there a way to get that username/pswd prompt while " A redirection to
> > URL" is selected in virutal dir:
> > Any suggestion is appreciated.
> >
> > Thnx
>
>
>
> Do you want the user to login against your XP IIS5.1 and then forward
> the user onto the real URL to access?
>
> If so, then that authentication scheme seems insecure to me. And if
> you don't want to authentication against XP, then you also don't want
> to do this.
>
> In other words, I don't understand what you want to accomplish, but
> what you are trying to do does not make sense.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>

Re: basic auth with url redirection in WINXP IIS 5.1

am 18.09.2007 08:37:45 von David Wang

Sure it's possible on IIS.

I believe IIS URL redirection takes effect before authentication, not
after, so you won't be able to use existing IIS configuration to do
what you want.

You will have to do the redirection with something like an ASP page,
which processes and performs its URL redirection after authentication
by IIS.

In other words, configure IIS to force its requests to a single ASP
page, and have that ASP page be under Basic authentication, and then
have the ASP page do the 302 URL redirection after authentication
completes.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Sep 17, 2:04 pm, kazi wrote:
> I want to auth: on same XP machine within its local users and once auth done
> then the real url should load. I know it may not make sense but it's hard for
> me to explain the scenerio. Just ignore the secuirty issue for a moment or
> even whatever my scenerio is. Do you think, it's possible to enable basic
> auth: along with url redirection.
>
> Thnx
>
>
>
> "David Wang" wrote:
> > On Sep 17, 1:12 pm, kazi wrote:
> > > I've winxp sp2 with IIS 5.1. I want to enable basic auth: on my virtual
> > > website which is redirecting to a diff: URL. Currently the fwding of url
> > > works without asking any usrname/pswd even though Anonymous is disabled and
> > > Basic auth is enabled. However if I select "A dir located on this computer"
> > > and select a path then while accessing the virtual website, I prompts me to
> > > enter a usrname/pswd.
> > > Is there a way to get that username/pswd prompt while " A redirection to
> > > URL" is selected in virutal dir:
> > > Any suggestion is appreciated.
>
> > > Thnx
>
> > Do you want the user to login against your XP IIS5.1 and then forward
> > the user onto the real URL to access?
>
> > If so, then that authentication scheme seems insecure to me. And if
> > you don't want to authentication against XP, then you also don't want
> > to do this.
>
> > In other words, I don't understand what you want to accomplish, but
> > what you are trying to do does not make sense.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -