Monday, March 26, 2012

windows authentication login

I have windows authentication mode enabled on my application.

If I access the website with localhost/mywebsite I get logged in
directly and LoginView control will display my account name.

When I access my application from another machine (ipaddress/
mywebsite) a login screen will pop up. Everything is fine if I enter
correct credentials but I would like users to be able to automaticaly
login from within the network without the login screen.

Any way to do that?
ThanksHow are you going to transmit your credentials to the remote Web server?
How does it know who you are unless you log in?

Peter

"xke" <xkeops@.gmail.comwrote in message
news:1173381117.563095.152480@.h3g2000cwc.googlegro ups.com...

Quote:

Originally Posted by

>I have windows authentication mode enabled on my application.
>
If I access the website with localhost/mywebsite I get logged in
directly and LoginView control will display my account name.
>
When I access my application from another machine (ipaddress/
mywebsite) a login screen will pop up. Everything is fine if I enter
correct credentials but I would like users to be able to automaticaly
login from within the network without the login screen.
>
Any way to do that?
Thanks
>


Hi Peter,

I thought there may be a way once you're logged in into the network it
shouldn't check for your credentials again.

Thanks

On Mar 9, 2:55 am, "Peter Bradley" <pbrad...@.uwic.ac.ukwrote:

Quote:

Originally Posted by

How are you going to transmit your credentials to the remote Web server?
How does it know who you are unless you log in?
>
Peter
>
"xke" <xke...@.gmail.comwrote in message
>
news:1173381117.563095.152480@.h3g2000cwc.googlegro ups.com...
>
>
>

Quote:

Originally Posted by

I have windows authentication mode enabled on my application.


>

Quote:

Originally Posted by

If I access the website with localhost/mywebsite I get logged in
directly and LoginView control will display my account name.


>

Quote:

Originally Posted by

When I access my application from another machine (ipaddress/
mywebsite) a login screen will pop up. Everything is fine if I enter
correct credentials but I would like users to be able to automaticaly
login from within the network without the login screen.


>

Quote:

Originally Posted by

Any way to do that?
Thanks- Hide quoted text -


>
- Show quoted text -


Don't think so.

When you send a request for a page to a Web server, you do just that - you
send an HTTP request. What Windows authentication does for you, if I
understand it correctly, is to authenticate against Windows ACLs once the
required credentials have been supplied.

I'm not sure why it works on your local machine - possibly because the Web
server is allowing all calls from the local host. It would be interesting
to see what happens if a non-privileged user accessed the application
locally.

You might find this useful:

http://www.authenticationtutorial.com/tutorial/ntlm.htm
Peter

"xke" <xkeops@.gmail.comwrote in message
news:1173451798.049013.98190@.8g2000cwh.googlegroup s.com...

Quote:

Originally Posted by

Hi Peter,
>
I thought there may be a way once you're logged in into the network it
shouldn't check for your credentials again.
>
Thanks
>
>
On Mar 9, 2:55 am, "Peter Bradley" <pbrad...@.uwic.ac.ukwrote:

Quote:

Originally Posted by

>How are you going to transmit your credentials to the remote Web server?
>How does it know who you are unless you log in?
>>
>Peter
>>
>"xke" <xke...@.gmail.comwrote in message
>>
>news:1173381117.563095.152480@.h3g2000cwc.googlegro ups.com...
>>
>>
>>

Quote:

Originally Posted by

>I have windows authentication mode enabled on my application.


>>

Quote:

Originally Posted by

If I access the website with localhost/mywebsite I get logged in
directly and LoginView control will display my account name.


>>

Quote:

Originally Posted by

When I access my application from another machine (ipaddress/
mywebsite) a login screen will pop up. Everything is fine if I enter
correct credentials but I would like users to be able to automaticaly
login from within the network without the login screen.


>>

Quote:

Originally Posted by

Any way to do that?
Thanks- Hide quoted text -


>>
>- Show quoted text -


>
>

0 comments:

Post a Comment