Cross-app basic authentication

O

Oran

I am trying to integrate an application into our extranets.

The extranet technology has its own authentication system requiring a domain user but uses anonymous authentication (from the perspective of IIS). I can get the username/password, but IIS is not aware of the user.

The application I am trying to integrate (to get the features I want) relies on either basic or NTLM authentication. The sites use SSL, so basic authentication is fine. Both applications live on the same server.

I want to automatically authenticate the user in the second app. Any ideas? I have a few, but I don't know how to implement them.

One idea is to find a way to forward/redirect the basic authentication information to the secondary application. This would be easier (and less secure) if IE6 still supported the "http://user:pwd@server/" syntax... I could construct the authorization request-header myself on the server, but how would I convince browsers to send it? It should work with recent IE and NS browsers.
 
O

Oran

I think I have my solution...

SoftArtisans makes a FileManager component with a .LogonUser method that lets me dynamically turn impersonation on and off as long as I have the username/pwd.... And I have it working. So IIS authentication can be configured as anonymous and I can still have scripts run as the user who is authenticated by the extranet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,471
Messages
2,571,823
Members
48,797
Latest member
PeterSimpson
Top