Hello,
I have been desperately trying to programmaticall y authenticate a windows
user, create their credentials, and then redirect them to a different server
while passing the credentials at the same time so that they don't have to
login again.
Specifically, I have two webservers in the same domain. When I have a user
go to Webserver A (which uses basic authentication) I programmaticall y
create either a user credential or impersonate a user context (for now it's
hardcoded, but in the future it would be entered in forms). Then, I want to
let that user access a page on Webserver B (which uses basic
authentication) , but I don't want them to have to login again -- rather, I
want to use the user context that I programmaticall y created on Webserver A.
For instance, here is an example of the code I use to create the user
credentials:
Dim strURI = "http://www.whatever.co m"
Dim myCred As New NetworkCredenti al("userid", "password", "domain")
Dim myURI As New Uri(strURI)
Dim myCache As New CredentialCache
myCache.Add(myU RI, "Basic", myCred)
From this, I have attempted to use WebRequests and WebResponses to somehow
allow me to direct the browser to a different page, and use the credential I
have generated. The most I can do, however, is create the request and
receive the response:
Dim myWebRequest As System.Net.WebR equest =
System.Net.WebR equest.Create(s trURI)
myWebRequest.Cr edentials = myCache
Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse()
If only I could use the response.redire ct method, and somehow pass the
credentials with the redirection (like you can with the webrequest), it
could work!
I have also attempted to use the LogonUser API (from the advapi32.dll), and
impersonate a user based on the proper logon information -- this works, and
I'm able to successfully impersonate the user, but again, I don't know how
to pass along the user context to a different page.
I know that many people will say "just use form based authentication, " but
this will not work for me, as I want this to work with tools like Outlook
Web Access, which requires windows authentication.
Any help would be greatly appreciated. Thank you!!
Wade 7 2606
while your only option is to use redirect to http://username:pa******@somesite.com (if using basic), I wouldn't do that
either.
anything else -- can't do.
"Wade Wegner" <ww*******@hotm ail.com> wrote in message
news:OU******** ******@TK2MSFTN GP10.phx.gbl... Hello,
I have been desperately trying to programmaticall y authenticate a windows user, create their credentials, and then redirect them to a different
server while passing the credentials at the same time so that they don't have to login again.
Specifically, I have two webservers in the same domain. When I have a
user go to Webserver A (which uses basic authentication) I programmaticall y create either a user credential or impersonate a user context (for now
it's hardcoded, but in the future it would be entered in forms). Then, I want
to let that user access a page on Webserver B (which uses basic authentication) , but I don't want them to have to login again -- rather, I want to use the user context that I programmaticall y created on Webserver
A. For instance, here is an example of the code I use to create the user credentials:
Dim strURI = "http://www.whatever.co m" Dim myCred As New NetworkCredenti al("userid", "password", "domain") Dim myURI As New Uri(strURI) Dim myCache As New CredentialCache myCache.Add(myU RI, "Basic", myCred)
From this, I have attempted to use WebRequests and WebResponses to somehow allow me to direct the browser to a different page, and use the credential
I have generated. The most I can do, however, is create the request and receive the response:
Dim myWebRequest As System.Net.WebR equest = System.Net.WebR equest.Create(s trURI) myWebRequest.Cr edentials = myCache Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse()
If only I could use the response.redire ct method, and somehow pass the credentials with the redirection (like you can with the webrequest), it could work!
I have also attempted to use the LogonUser API (from the advapi32.dll),
and impersonate a user based on the proper logon information -- this works,
and I'm able to successfully impersonate the user, but again, I don't know how to pass along the user context to a different page.
I know that many people will say "just use form based authentication, "
but this will not work for me, as I want this to work with tools like Outlook Web Access, which requires windows authentication.
Any help would be greatly appreciated. Thank you!!
Wade
if they are your own servers, you could set up a webservice to transfer
session info back and forth...
"Wade Wegner" <ww*******@hotm ail.com> wrote in message
news:OU******** ******@TK2MSFTN GP10.phx.gbl... Hello,
I have been desperately trying to programmaticall y authenticate a windows user, create their credentials, and then redirect them to a different
server while passing the credentials at the same time so that they don't have to login again.
Specifically, I have two webservers in the same domain. When I have a
user go to Webserver A (which uses basic authentication) I programmaticall y create either a user credential or impersonate a user context (for now
it's hardcoded, but in the future it would be entered in forms). Then, I want
to let that user access a page on Webserver B (which uses basic authentication) , but I don't want them to have to login again -- rather, I want to use the user context that I programmaticall y created on Webserver
A. For instance, here is an example of the code I use to create the user credentials:
Dim strURI = "http://www.whatever.co m" Dim myCred As New NetworkCredenti al("userid", "password", "domain") Dim myURI As New Uri(strURI) Dim myCache As New CredentialCache myCache.Add(myU RI, "Basic", myCred)
From this, I have attempted to use WebRequests and WebResponses to somehow allow me to direct the browser to a different page, and use the credential
I have generated. The most I can do, however, is create the request and receive the response:
Dim myWebRequest As System.Net.WebR equest = System.Net.WebR equest.Create(s trURI) myWebRequest.Cr edentials = myCache Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse()
If only I could use the response.redire ct method, and somehow pass the credentials with the redirection (like you can with the webrequest), it could work!
I have also attempted to use the LogonUser API (from the advapi32.dll),
and impersonate a user based on the proper logon information -- this works,
and I'm able to successfully impersonate the user, but again, I don't know how to pass along the user context to a different page.
I know that many people will say "just use form based authentication, "
but this will not work for me, as I want this to work with tools like Outlook Web Access, which requires windows authentication.
Any help would be greatly appreciated. Thank you!!
Wade
Huh!
I never you could do that to pass login information to a site with basic
authentication. Is there a name for that? Something that would allow me to
look it up in MSDN? I wonder what the security considerations are. If used
with SSL, is it safe? Etc.
Thanks for the idea, though ... I'll look into it some more.
Wade
"Rad" <as*******@hot. spam.mail.com> wrote in message
news:hj******** **************@ twister.southea st.rr.com... while your only option is to use redirect to http://username:pa******@somesite.com (if using basic), I wouldn't do that either.
anything else -- can't do.
"Wade Wegner" <ww*******@hotm ail.com> wrote in message news:OU******** ******@TK2MSFTN GP10.phx.gbl... Hello,
I have been desperately trying to programmaticall y authenticate a
windows user, create their credentials, and then redirect them to a different server while passing the credentials at the same time so that they don't have
to login again.
Specifically, I have two webservers in the same domain. When I have a user go to Webserver A (which uses basic authentication) I programmaticall y create either a user credential or impersonate a user context (for now it's hardcoded, but in the future it would be entered in forms). Then, I
want to let that user access a page on Webserver B (which uses basic authentication) , but I don't want them to have to login again -- rather,
I want to use the user context that I programmaticall y created on
Webserver A. For instance, here is an example of the code I use to create the user credentials:
Dim strURI = "http://www.whatever.co m" Dim myCred As New NetworkCredenti al("userid", "password", "domain") Dim myURI As New Uri(strURI) Dim myCache As New CredentialCache myCache.Add(myU RI, "Basic", myCred)
From this, I have attempted to use WebRequests and WebResponses to
somehow allow me to direct the browser to a different page, and use the
credential I have generated. The most I can do, however, is create the request and receive the response:
Dim myWebRequest As System.Net.WebR equest = System.Net.WebR equest.Create(s trURI) myWebRequest.Cr edentials = myCache Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse()
If only I could use the response.redire ct method, and somehow pass the credentials with the redirection (like you can with the webrequest), it could work!
I have also attempted to use the LogonUser API (from the advapi32.dll), and impersonate a user based on the proper logon information -- this works, and I'm able to successfully impersonate the user, but again, I don't know
how to pass along the user context to a different page.
I know that many people will say "just use form based authentication, " but this will not work for me, as I want this to work with tools like
Outlook Web Access, which requires windows authentication.
Any help would be greatly appreciated. Thank you!!
Wade
Okay, as I've been playing with the method you mentioned, I've noted the
following.
If I create a login form, and then programmaticall y create a URL string, and
then redirect to that URL, it prompts me to login. However, if I register a
vbscript that uses window.location to redirect the user to this script, it
doesn't. Does the response.redire ct not work?
For example, this is what I use for the response.redire ct:
Dim strURL as string
strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t &
"@mydomain. com"
response.redire ct(strURL)
That doesn't work, and it prompts me to login.
However, I can get the following to work fine:
Dim strURL as string
strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t &
"@mydomain. com"
Dim txtScript as new System.Text.Str ingBuilder
txtScript.Appen d(vbCr & "<script language=vbscri pt>")
txtScript.Appen d(vbCr & "window.locatio n = """ & strURL & """")
txtScript.Appen d(vbCr & "</script>" & vbCr & vbCr)
Page.RegisterSt artupScript("re direct", txtScript.ToStr ing)
When I redirect from the client, this works fine. Additionally, if I simply
type in the address into the browser, it works properly.
Any ideas? Will I have to do this from the client?
Thanks,
Wade
"Rad" <as*******@hot. spam.mail.com> wrote in message
news:hj******** **************@ twister.southea st.rr.com... while your only option is to use redirect to http://username:pa******@somesite.com (if using basic), I wouldn't do that either.
anything else -- can't do.
"Wade Wegner" <ww*******@hotm ail.com> wrote in message news:OU******** ******@TK2MSFTN GP10.phx.gbl... Hello,
I have been desperately trying to programmaticall y authenticate a
windows user, create their credentials, and then redirect them to a different server while passing the credentials at the same time so that they don't have
to login again.
Specifically, I have two webservers in the same domain. When I have a user go to Webserver A (which uses basic authentication) I programmaticall y create either a user credential or impersonate a user context (for now it's hardcoded, but in the future it would be entered in forms). Then, I
want to let that user access a page on Webserver B (which uses basic authentication) , but I don't want them to have to login again -- rather,
I want to use the user context that I programmaticall y created on
Webserver A. For instance, here is an example of the code I use to create the user credentials:
Dim strURI = "http://www.whatever.co m" Dim myCred As New NetworkCredenti al("userid", "password", "domain") Dim myURI As New Uri(strURI) Dim myCache As New CredentialCache myCache.Add(myU RI, "Basic", myCred)
From this, I have attempted to use WebRequests and WebResponses to
somehow allow me to direct the browser to a different page, and use the
credential I have generated. The most I can do, however, is create the request and receive the response:
Dim myWebRequest As System.Net.WebR equest = System.Net.WebR equest.Create(s trURI) myWebRequest.Cr edentials = myCache Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse()
If only I could use the response.redire ct method, and somehow pass the credentials with the redirection (like you can with the webrequest), it could work!
I have also attempted to use the LogonUser API (from the advapi32.dll), and impersonate a user based on the proper logon information -- this works, and I'm able to successfully impersonate the user, but again, I don't know
how to pass along the user context to a different page.
I know that many people will say "just use form based authentication, " but this will not work for me, as I want this to work with tools like
Outlook Web Access, which requires windows authentication.
Any help would be greatly appreciated. Thank you!!
Wade
I don't like this approach (of passing credentials like this) at all.. it's
visible in the address bar.. so I'm not sure this is really a good idea.
it's an HTTP thingie.. so you would want to look at it there.. MSDN may have
it.. but may not...
"Wade Wegner" <ww*******@hotm ail.com> wrote in message
news:uU******** ******@TK2MSFTN GP12.phx.gbl... Okay, as I've been playing with the method you mentioned, I've noted the following.
If I create a login form, and then programmaticall y create a URL string,
and then redirect to that URL, it prompts me to login. However, if I register
a vbscript that uses window.location to redirect the user to this script, it doesn't. Does the response.redire ct not work?
For example, this is what I use for the response.redire ct:
Dim strURL as string strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t & "@mydomain. com"
response.redire ct(strURL)
That doesn't work, and it prompts me to login.
However, I can get the following to work fine:
Dim strURL as string strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t & "@mydomain. com"
Dim txtScript as new System.Text.Str ingBuilder txtScript.Appen d(vbCr & "<script language=vbscri pt>") txtScript.Appen d(vbCr & "window.locatio n = """ & strURL & """") txtScript.Appen d(vbCr & "</script>" & vbCr & vbCr)
Page.RegisterSt artupScript("re direct", txtScript.ToStr ing)
When I redirect from the client, this works fine. Additionally, if I
simply type in the address into the browser, it works properly.
Any ideas? Will I have to do this from the client?
Thanks,
Wade "Rad" <as*******@hot. spam.mail.com> wrote in message news:hj******** **************@ twister.southea st.rr.com... while your only option is to use redirect to http://username:pa******@somesite.com (if using basic), I wouldn't do
that either.
anything else -- can't do.
"Wade Wegner" <ww*******@hotm ail.com> wrote in message news:OU******** ******@TK2MSFTN GP10.phx.gbl... Hello,
I have been desperately trying to programmaticall y authenticate a windows user, create their credentials, and then redirect them to a different server while passing the credentials at the same time so that they don't have to login again.
Specifically, I have two webservers in the same domain. When I have a user go to Webserver A (which uses basic authentication) I programmaticall y create either a user credential or impersonate a user context (for now it's hardcoded, but in the future it would be entered in forms). Then, I want to let that user access a page on Webserver B (which uses basic authentication) , but I don't want them to have to login again --
rather, I want to use the user context that I programmaticall y created on Webserver A. For instance, here is an example of the code I use to create the user credentials:
Dim strURI = "http://www.whatever.co m" Dim myCred As New NetworkCredenti al("userid", "password",
"domain") Dim myURI As New Uri(strURI) Dim myCache As New CredentialCache myCache.Add(myU RI, "Basic", myCred)
From this, I have attempted to use WebRequests and WebResponses to somehow allow me to direct the browser to a different page, and use the credential I have generated. The most I can do, however, is create the request and receive the response:
Dim myWebRequest As System.Net.WebR equest = System.Net.WebR equest.Create(s trURI) myWebRequest.Cr edentials = myCache Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse()
If only I could use the response.redire ct method, and somehow pass the credentials with the redirection (like you can with the webrequest),
it could work!
I have also attempted to use the LogonUser API (from the
advapi32.dll), and impersonate a user based on the proper logon information -- this
works, and I'm able to successfully impersonate the user, but again, I don't know how to pass along the user context to a different page.
I know that many people will say "just use form based authentication, "
but this will not work for me, as I want this to work with tools like Outlook Web Access, which requires windows authentication.
Any help would be greatly appreciated. Thank you!!
Wade
See, I do not experience it displaying in the address bar. I have not been
able to find anything in MSDN concerning this, but I started to think that
all this method does is mimic what basic authentication does -- I mean,
basic authentication is unencrypted, clear text. Is employing this method
any different than using basic authentication? In both cases, obviously, it
would be worthwhile to encrypt using SSL.
I still wish I understood why this solution would not work if redirected
from the server, via response.redire ct, but will if it is redirected at the
client. Even if this isn't a good solution, I'd like to know the answer to
that.
"Rad" <as*******@hot. spam.mail.com> wrote in message
news:or******** *************** @twister.southe ast.rr.com... I don't like this approach (of passing credentials like this) at all..
it's visible in the address bar.. so I'm not sure this is really a good idea.
it's an HTTP thingie.. so you would want to look at it there.. MSDN may
have it.. but may not...
"Wade Wegner" <ww*******@hotm ail.com> wrote in message news:uU******** ******@TK2MSFTN GP12.phx.gbl... Okay, as I've been playing with the method you mentioned, I've noted the following.
If I create a login form, and then programmaticall y create a URL string, and then redirect to that URL, it prompts me to login. However, if I
register a vbscript that uses window.location to redirect the user to this script,
it doesn't. Does the response.redire ct not work?
For example, this is what I use for the response.redire ct:
Dim strURL as string strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t & "@mydomain. com"
response.redire ct(strURL)
That doesn't work, and it prompts me to login.
However, I can get the following to work fine:
Dim strURL as string strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t & "@mydomain. com"
Dim txtScript as new System.Text.Str ingBuilder txtScript.Appen d(vbCr & "<script language=vbscri pt>") txtScript.Appen d(vbCr & "window.locatio n = """ & strURL & """") txtScript.Appen d(vbCr & "</script>" & vbCr & vbCr)
Page.RegisterSt artupScript("re direct", txtScript.ToStr ing)
When I redirect from the client, this works fine. Additionally, if I simply type in the address into the browser, it works properly.
Any ideas? Will I have to do this from the client?
Thanks,
Wade "Rad" <as*******@hot. spam.mail.com> wrote in message news:hj******** **************@ twister.southea st.rr.com... while your only option is to use redirect to http://username:pa******@somesite.com (if using basic), I wouldn't do that either.
anything else -- can't do.
"Wade Wegner" <ww*******@hotm ail.com> wrote in message news:OU******** ******@TK2MSFTN GP10.phx.gbl... > Hello, > > I have been desperately trying to programmaticall y authenticate a windows > user, create their credentials, and then redirect them to a
different server > while passing the credentials at the same time so that they don't
have to > login again. > > Specifically, I have two webservers in the same domain. When I have
a user > go to Webserver A (which uses basic authentication) I
programmaticall y > create either a user credential or impersonate a user context (for
now it's > hardcoded, but in the future it would be entered in forms). Then, I want to > let that user access a page on Webserver B (which uses basic > authentication) , but I don't want them to have to login again -- rather, I > want to use the user context that I programmaticall y created on Webserver A. > > For instance, here is an example of the code I use to create the
user > credentials: > > Dim strURI = "http://www.whatever.co m" > Dim myCred As New NetworkCredenti al("userid", "password", "domain") > Dim myURI As New Uri(strURI) > Dim myCache As New CredentialCache > myCache.Add(myU RI, "Basic", myCred) > > From this, I have attempted to use WebRequests and WebResponses to somehow > allow me to direct the browser to a different page, and use the credential I > have generated. The most I can do, however, is create the request
and > receive the response: > > Dim myWebRequest As System.Net.WebR equest = > System.Net.WebR equest.Create(s trURI) > myWebRequest.Cr edentials = myCache > Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse() > > If only I could use the response.redire ct method, and somehow pass
the > credentials with the redirection (like you can with the webrequest), it > could work! > > I have also attempted to use the LogonUser API (from the advapi32.dll), and > impersonate a user based on the proper logon information -- this works, and > I'm able to successfully impersonate the user, but again, I don't
know how > to pass along the user context to a different page. > > I know that many people will say "just use form based
authentication, " but > this will not work for me, as I want this to work with tools like Outlook > Web Access, which requires windows authentication. > > Any help would be greatly appreciated. Thank you!! > > Wade > >
Look at HTTP specs... see what it says for 302 (that's what
response.redire ct really is)...
as I said, all this is http stuff.. so MSDN may not have it (just like they
dont' have http specs there...) you'd probably want to start looking at
w3c's site
"Wade Wegner" <ww*******@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. See, I do not experience it displaying in the address bar. I have not
been able to find anything in MSDN concerning this, but I started to think that all this method does is mimic what basic authentication does -- I mean, basic authentication is unencrypted, clear text. Is employing this method any different than using basic authentication? In both cases, obviously,
it would be worthwhile to encrypt using SSL.
I still wish I understood why this solution would not work if redirected from the server, via response.redire ct, but will if it is redirected at
the client. Even if this isn't a good solution, I'd like to know the answer
to that.
"Rad" <as*******@hot. spam.mail.com> wrote in message news:or******** *************** @twister.southe ast.rr.com... I don't like this approach (of passing credentials like this) at all.. it's visible in the address bar.. so I'm not sure this is really a good idea.
it's an HTTP thingie.. so you would want to look at it there.. MSDN may have it.. but may not...
"Wade Wegner" <ww*******@hotm ail.com> wrote in message news:uU******** ******@TK2MSFTN GP12.phx.gbl... Okay, as I've been playing with the method you mentioned, I've noted
the following.
If I create a login form, and then programmaticall y create a URL
string, and then redirect to that URL, it prompts me to login. However, if I register a vbscript that uses window.location to redirect the user to this
script, it doesn't. Does the response.redire ct not work?
For example, this is what I use for the response.redire ct:
Dim strURL as string strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t & "@mydomain. com"
response.redire ct(strURL)
That doesn't work, and it prompts me to login.
However, I can get the following to work fine:
Dim strURL as string strURL = "http://" & txtUserID.Text & ":" & txtPassword.Tex t & "@mydomain. com"
Dim txtScript as new System.Text.Str ingBuilder txtScript.Appen d(vbCr & "<script language=vbscri pt>") txtScript.Appen d(vbCr & "window.locatio n = """ & strURL & """") txtScript.Appen d(vbCr & "</script>" & vbCr & vbCr)
Page.RegisterSt artupScript("re direct", txtScript.ToStr ing)
When I redirect from the client, this works fine. Additionally, if I simply type in the address into the browser, it works properly.
Any ideas? Will I have to do this from the client?
Thanks,
Wade "Rad" <as*******@hot. spam.mail.com> wrote in message news:hj******** **************@ twister.southea st.rr.com... > while your only option is to use redirect to > http://username:pa******@somesite.com (if using basic), I wouldn't
do that > either. > > anything else -- can't do. > > > "Wade Wegner" <ww*******@hotm ail.com> wrote in message > news:OU******** ******@TK2MSFTN GP10.phx.gbl... > > Hello, > > > > I have been desperately trying to programmaticall y authenticate a windows > > user, create their credentials, and then redirect them to a different > server > > while passing the credentials at the same time so that they don't have to > > login again. > > > > Specifically, I have two webservers in the same domain. When I
have a > user > > go to Webserver A (which uses basic authentication) I programmaticall y > > create either a user credential or impersonate a user context (for now > it's > > hardcoded, but in the future it would be entered in forms). Then,
I want > to > > let that user access a page on Webserver B (which uses basic > > authentication) , but I don't want them to have to login again -- rather, I > > want to use the user context that I programmaticall y created on Webserver > A. > > > > For instance, here is an example of the code I use to create the user > > credentials: > > > > Dim strURI = "http://www.whatever.co m" > > Dim myCred As New NetworkCredenti al("userid", "password",
"domain") > > Dim myURI As New Uri(strURI) > > Dim myCache As New CredentialCache > > myCache.Add(myU RI, "Basic", myCred) > > > > From this, I have attempted to use WebRequests and WebResponses to somehow > > allow me to direct the browser to a different page, and use the credential > I > > have generated. The most I can do, however, is create the request and > > receive the response: > > > > Dim myWebRequest As System.Net.WebR equest = > > System.Net.WebR equest.Create(s trURI) > > myWebRequest.Cr edentials = myCache > > Dim myWebResponse As WebResponse = myWebRequest.Ge tResponse() > > > > If only I could use the response.redire ct method, and somehow pass the > > credentials with the redirection (like you can with the
webrequest), it > > could work! > > > > I have also attempted to use the LogonUser API (from the advapi32.dll), > and > > impersonate a user based on the proper logon information -- this works, > and > > I'm able to successfully impersonate the user, but again, I don't know how > > to pass along the user context to a different page. > > > > I know that many people will say "just use form based authentication, " > but > > this will not work for me, as I want this to work with tools like Outlook > > Web Access, which requires windows authentication. > > > > Any help would be greatly appreciated. Thank you!! > > > > Wade > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Angelo Vargheese |
last post by:
Hi,
I am trying to retrieve XML created by ASP pages on different servers
and display them on a single ASP.Net page.
I was planning to use the XMLDocument and XMLResolver objects like
below:
xmlResolver.Credentials = CredentialCache.DefaultCredentials
xmlDoc = New XmlDocument
xmlDoc.XmlResolver = xmlResolver
|
by: Das |
last post by:
Hi all,
I'm writig an application that sends an http request to java servlet file.
I have to pass an xml file to the servlet.
How should I pass xml file to the file.
When I try to access the url directly it shows me
Forbidden
You do not have permission to access /RequestListenerServlet on this server.
|
by: jadher |
last post by:
I try to access an asp page in a machine that has windows integrated
authentication turned on.
I use System.Net.Networkcredentials as well as System.Net.Webrequest and
Webresponse.
I receive a response but when I try to use Response.Redirect(), a popup
windows appears asking me for user, password, domain.
Is there a way to pass the...
|
by: Patrick.O.Ige |
last post by:
Hi folks,
How can i pass credentials to windows integrated authentication.
I want to use my credentials from windows authentication and pass it on to
different asp.net and asp pages without having to login again.
Any help?
|
by: cdlipfert |
last post by:
Our intranet is running under windows integrated security. We have
domain users that want to access our intranet site via ssl vpn. SSL
VPN can not authenticate against services that run under windows
integrated security. In order to get around this issue it seems that we
would need to create a login page on a separate site that runs under...
| |
by: GRB |
last post by:
My webiste has integrated windows authentication. I need to pass a clients
credentials (username, password) to my site without the login pop up.
I send the client to an anonymous page, get an encrypted cookie and read it
to get the credentials. Then redirect the client to my web site.
How can I pass the credentials to IIS and avoid the login...
|
by: solex |
last post by:
Am I to assume that if I have a windows client using DotNet and VBA
respectively that the way to pass the default credentials is:
DotNET: ws.Credentials = System.Net.CredentialCache.DefaultCredentials
VBA: ws.ConnectorProperty("ProxyServer") = "<CURRENT_USER>"
If the above is true how do I then use the credentials in a...
|
by: =?Utf-8?B?UGFyYWcgR2Fpa3dhZA==?= |
last post by:
Hi All,
We have a requirement where we have to develop a custom Login Page which
will accept user's NT credentials ( Username , password, domain name).
This then needs to be passed to a website which uses Windows Authentication
Now my question is how do we pass these credentials to IIS in classic ASP?
Would appreciate any help/pointers on...
|
by: Jesper Lund Stocholm |
last post by:
I have created a WCF-service running on IIS. The virtual directory has
anonymous access disabled and requires integrated windows authentication.
The proxy to the service is auto-generated using Visual Studio 2008's
"Add Service reference".
My problem is that when I try to execute a method on the service, I get
the following exception:
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |