473,473 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using NetworkCredential then a Redirect to the site requiring the credientails

Hello all.

Ever since the latest patch for IE 6 it is impossible to pass the
username and password to Exchange 2000 (or any site) in the url (i.e.
http://username:pa******@exchangeserver.mydomain.com) ... so I've possibly
came up with a solution (which I'm sure is thought of and implemented
already) Please review my strategy and offer any suggestions / solutions:

- A user is logged into an asp.net / c# website with the same user name and
password for the domain / exchange server
- To prevent a duplicate login, I used to pass the username and password in
the url (as detailed above), this no longer works
- I would have a simple link with the user name and password in the url
that would automatically log the user in
- I was hoping that somehow, with a combination of a WebRequest /
NetworkCredential I could log the user in behind the scenes and redirect
them to the proper location to the OWA inbox for the particular user without
needing to log them in twice.

I'm having a struggle locating the proper information to achieve this goal.

Any and all input is appreciated.

Thanks in advance.

--
Jay Douglas
Fort Collins, CO


Nov 15 '05 #1
4 2135
I thought MS "reversed" that in a followup patch!
It broke too many things.

There is a registry hack to undo it to.
--
Joe Fallon

"Jay Douglas" <RE*********************************@squarei.com > wrote in
message news:ec*************@TK2MSFTNGP11.phx.gbl...
Hello all.

Ever since the latest patch for IE 6 it is impossible to pass the
username and password to Exchange 2000 (or any site) in the url (i.e.
http://username:pa******@exchangeserver.mydomain.com) ... so I've possibly
came up with a solution (which I'm sure is thought of and implemented
already) Please review my strategy and offer any suggestions / solutions:

- A user is logged into an asp.net / c# website with the same user name and password for the domain / exchange server
- To prevent a duplicate login, I used to pass the username and password in the url (as detailed above), this no longer works
- I would have a simple link with the user name and password in the url
that would automatically log the user in
- I was hoping that somehow, with a combination of a WebRequest /
NetworkCredential I could log the user in behind the scenes and redirect
them to the proper location to the OWA inbox for the particular user without needing to log them in twice.

I'm having a struggle locating the proper information to achieve this goal.
Any and all input is appreciated.

Thanks in advance.

--
Jay Douglas
Fort Collins, CO

Nov 15 '05 #2
No, it has not and will not be reversed.

There is a registry patch to turn the behavior off if you'd like.
--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Joe Fallon" <jf******@nospamtwcny.rr.com> wrote in message
news:eF**************@TK2MSFTNGP10.phx.gbl...
I thought MS "reversed" that in a followup patch!
It broke too many things.

There is a registry hack to undo it to.
--
Joe Fallon

"Jay Douglas" <RE*********************************@squarei.com > wrote in
message news:ec*************@TK2MSFTNGP11.phx.gbl...
Hello all.

Ever since the latest patch for IE 6 it is impossible to pass the
username and password to Exchange 2000 (or any site) in the url (i.e.
http://username:pa******@exchangeserver.mydomain.com) ... so I've possibly came up with a solution (which I'm sure is thought of and implemented
already) Please review my strategy and offer any suggestions / solutions:
- A user is logged into an asp.net / c# website with the same user name and
password for the domain / exchange server
- To prevent a duplicate login, I used to pass the username and

password in
the url (as detailed above), this no longer works
- I would have a simple link with the user name and password in the url
that would automatically log the user in
- I was hoping that somehow, with a combination of a WebRequest /
NetworkCredential I could log the user in behind the scenes and redirect
them to the proper location to the OWA inbox for the particular user

without
needing to log them in twice.

I'm having a struggle locating the proper information to achieve this

goal.

Any and all input is appreciated.

Thanks in advance.

--
Jay Douglas
Fort Collins, CO


Nov 15 '05 #3
> Ever since the latest patch for IE 6 it is impossible to pass the
username and password to Exchange 2000 (or any site) in the url (i.e.
http://username:pa******@exchangeserver.mydomain.com) ... so I've possibly
came up with a solution (which I'm sure is thought of and implemented
already) Please review my strategy and offer any suggestions / solutions:
Hopefully, the setup wasn't ~really~ broadcasting your unencrypted username
and password to the world at large without any protection?
- I was hoping that somehow, with a combination of a WebRequest /
NetworkCredential I could log the user in behind the scenes and redirect
them to the proper location to the OWA inbox for the particular user without needing to log them in twice.


I don't think this will work. Arguably, if you wanted to get really fancy,
you could create a C# Proxy which passed all requests and responses between
the client and the server and added the authentication information to the
headers on every transaction-- but this would get insanely complicated and
would be very fragile.

If you'd like to reverse the effects of this security update, there's a
well-documented registry key to turn it off. However, I must caution you
that the approaches you've described are very much vulnerable to even the
most inept of hackers.

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 15 '05 #4
Eric, Thanks for your response....
Hopefully, the setup wasn't ~really~ broadcasting your unencrypted username and password to the world at large without any protection?
Yes I was, as a temporary solution. The latest I.E. patch was almost a
blessing in disguise.. I'm now in a position where I can tell the customer
they need to budget for an additional component.
If you'd like to reverse the effects of this security update, there's a
well-documented registry key to turn it off. However, I must caution you
that the approaches you've described are very much vulnerable to even the
most inept of hackers.
Changing the registry key is not an option. This functionality needs to be
accessed from a lot of PCs, some of which I have no control over the
registry.
I don't think this will work. Arguably, if you wanted to get really fancy, you could create a C# Proxy which passed all requests and responses between the client and the server and added the authentication information to the
headers on every transaction-- but this would get insanely complicated and
would be very fragile.
Is there a middle ground? I was hoping I could use C# to start the request,
pass the user information, and then pass the control over to the users
browser. I don't really want to write an application that acts as an
intermediary for all of this communication. It would be a bandwidth
nightmare, and like you said, flakey.

Possibly some more suggestions may help.

Thanks a ton.
--
Jay Douglas
Fort Collins, CO

"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP09.phx.gbl...
Ever since the latest patch for IE 6 it is impossible to pass the
username and password to Exchange 2000 (or any site) in the url (i.e.
http://username:pa******@exchangeserver.mydomain.com) ... so I've possibly came up with a solution (which I'm sure is thought of and implemented
already) Please review my strategy and offer any suggestions /

solutions:
Hopefully, the setup wasn't ~really~ broadcasting your unencrypted username and password to the world at large without any protection?
- I was hoping that somehow, with a combination of a WebRequest /
NetworkCredential I could log the user in behind the scenes and redirect
them to the proper location to the OWA inbox for the particular user without
needing to log them in twice.


I don't think this will work. Arguably, if you wanted to get really

fancy, you could create a C# Proxy which passed all requests and responses between the client and the server and added the authentication information to the
headers on every transaction-- but this would get insanely complicated and
would be very fragile.

If you'd like to reverse the effects of this security update, there's a
well-documented registry key to turn it off. However, I must caution you
that the approaches you've described are very much vulnerable to even the
most inept of hackers.

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Prathiraj | last post by:
Hi All, I'm trying to access a web page from C# code. Since I'm behind a firewall/proxy, I creat a webproxy and NetworkCredential to access the web page. It works fine. In this way, I have to...
4
by: Jay Douglas | last post by:
Hello all. Ever since the latest patch for IE 6 it is impossible to pass the username and password to Exchange 2000 (or any site) in the url (i.e....
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
0
by: Naga | last post by:
I am using the code below to login to a password requiring website programatically. I keep getting back the logon page. I have read some posts here and haven't found a working solution still. I...
1
by: phil.jacobs | last post by:
Hi there, I am very stuck and have tried everything on this one! I am trying to get to an https website and cannot work out how to logon. When I log on manually, I have to enter username and...
0
by: barrybevel | last post by:
Hi, I'm trying to login to the www.vodafone.ie website using HttpWebRequest. It works fine with IE/Firefox and the .NET Web Control too, just not with my code. I think it's a redirect 302...
9
by: Ben | last post by:
Hello, I'll bet this has been asked a million times but I can't seem to find a thread that gives the clear example I need. This PC has MySQL and IIS configured and running. The MySQL database is...
3
by: antonyliu2002 | last post by:
I have a website (call it WinAuthWeb) that uses Integrated Windows Authentication. In my ASP.NET web application, I collect user name, password and domain info and pass them to WinAuthWeb for...
1
by: WeCi2i | last post by:
Okay, I have a problem that has been stumping me for weeks. I have tried many different solutions and this is pretty much my last resort. I have seen a lot of good answers give here so I figured I...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.