Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

how to read username in IIS anonymous mode ?

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  What server issue is causing MaintainScrollPositi..  
Author Message
oto pakozdy

External


Since: Oct 29, 2006
Posts: 1



(Msg. 1) Posted: Sun Oct 29, 2006 5:50 am
Post subject: how to read username in IIS anonymous mode ?
Archived from groups: microsoft>public>inetserver>iis (more info?)

hello...
I have situation ,when user is preauthenticated on ISA server and on success
user can access webapp on other server. this server is in anonymous access
mode. But webapp needs to read username of user authenticated on isa server.
iis server in anonymous mode doesn't fill REMOTE _USER variable. In headers
I see encoded password but not username. Is there way how to read username ?

please help ...

Thank you.

 >> Stay informed about: how to read username in IIS anonymous mode ? 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 2) Posted: Sun Oct 29, 2006 6:40 am
Post subject: Re: how to read username in IIS anonymous mode ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please do not multi-post.

Anonymous authentication does not populate REMOTE_USER, by-design,
because no such authentication to obtain the username was performed.

If you do not see the username passed on the request, then what you
want to do is impossible. How can IIS provide you the username if it
never got one from the client???


//David
http://w3-4u.blogspot.com
//


oto pakozdy wrote:
> hello...
> I have situation ,when user is preauthenticated on ISA server and on success
> user can access webapp on other server. this server is in anonymous access
> mode. But webapp needs to read username of user authenticated on isa server.
> iis server in anonymous mode doesn't fill REMOTE _USER variable. In headers
> I see encoded password but not username. Is there way how to read username ?
>
> please help ...
>
> Thank you.

 >> Stay informed about: how to read username in IIS anonymous mode ? 
Back to top
Login to vote
pakozdy

External


Since: Oct 30, 2006
Posts: 1



(Msg. 3) Posted: Mon Oct 30, 2006 1:10 am
Post subject: Re: how to read username in IIS anonymous mode ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hello...

user credentials are forwarded by ISA server. I can see encoded
password in headers so im sure that creadentials are forwarder
properly. but I can't see username.
When I switch server to authentication forwarded credentials are
properly used by server. So I think I need something special like isapi
to regenerate remote_user header



David Wang napísal(a):
> Please do not multi-post.
>
> Anonymous authentication does not populate REMOTE_USER, by-design,
> because no such authentication to obtain the username was performed.
>
> If you do not see the username passed on the request, then what you
> want to do is impossible. How can IIS provide you the username if it
> never got one from the client???
>
>
> //David
> http://w3-4u.blogspot.com
> //
>
>
> oto pakozdy wrote:
> > hello...
> > I have situation ,when user is preauthenticated on ISA server and on success
> > user can access webapp on other server. this server is in anonymous access
> > mode. But webapp needs to read username of user authenticated on isa server.
> > iis server in anonymous mode doesn't fill REMOTE _USER variable. In headers
> > I see encoded password but not username. Is there way how to read username ?
> >
> > please help ...
> >
> > Thank you.
 >> Stay informed about: how to read username in IIS anonymous mode ? 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 4) Posted: Mon Oct 30, 2006 4:08 am
Post subject: Re: how to read username in IIS anonymous mode ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Answered in microsoft.public.platformsdk.internet.server.isapi-dev

Everything works correctly if you configure IIS to use the forwarded
authentication protocol.

The problem is that you want a custom protocol where the front end and
back end use different protocols and require custom mapping. This means
that you have to provide a custom ISAPI to perform this mapping.


//David
http://w3-4u.blogspot.com
//


pakozdy.TakeThisOut@pobox.sk wrote:
> hello...
>
> user credentials are forwarded by ISA server. I can see encoded
> password in headers so im sure that creadentials are forwarder
> properly. but I can't see username.
> When I switch server to authentication forwarded credentials are
> properly used by server. So I think I need something special like isapi
> to regenerate remote_user header
>
>
>
> David Wang napísal(a):
> > Please do not multi-post.
> >
> > Anonymous authentication does not populate REMOTE_USER, by-design,
> > because no such authentication to obtain the username was performed.
> >
> > If you do not see the username passed on the request, then what you
> > want to do is impossible. How can IIS provide you the username if it
> > never got one from the client???
> >
> >
> > //David
> > http://w3-4u.blogspot.com
> > //
> >
> >
> > oto pakozdy wrote:
> > > hello...
> > > I have situation ,when user is preauthenticated on ISA server and on success
> > > user can access webapp on other server. this server is in anonymous access
> > > mode. But webapp needs to read username of user authenticated on isa server.
> > > iis server in anonymous mode doesn't fill REMOTE _USER variable. In headers
> > > I see encoded password but not username. Is there way how to read username ?
> > >
> > > please help ...
> > >
> > > Thank you.
 >> Stay informed about: how to read username in IIS anonymous mode ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
"cs-username" in IIS Log - Trying to get the IIS log to capture the cs-username. We have it truned on in IIS, but the log is not capturing the information, any suggestions? Thank you in Advance, Allan

Using ASP to get username - Can I get the username of the logged in user for use in my ASP code? If so, how? Austin

Windows Username - I was wondering if there is a way to enable integrated windows authentication so that, when a user comes to my site it lets everyone threw but still passes the user information. -- jeremy

IIS 4 & 6 username in logfile - How do I get IIS4 and IIS6 to write a username (cs-username in logfile fields) to the logfile? All I get now is "-". TIA, Owen

Need username/password - Well, I installed IIS a looong tiem ago, bu tam now just getting involved. When I try to access http://localhost, it asks for username and password. I spose you could guess I have no idea what they were..... Any ideas on workaround? Thanks in advance.
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]