Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > How to Clear the Integrated Windows authentication credential in .

Reply
Thread Tools

How to Clear the Integrated Windows authentication credential in .

 
 
Datagrid left-right scroll problem
Guest
Posts: n/a
 
      01-23-2006
We have got an application which is using Integrated Windows authentication
credential method for logging into the site. Our customer now is asking for a
requirement to provide more security. The requirement is like this..

"Whenever the session of the application expires(as per time in web.config),
it should clear the User credentials so that even if the User enters the site
url in the same browser instance,the Integrated Windows authentication
credential dialog box should pop up. This will make the user to enter the
userid and password again to access the application. In other words, even if
the session expires, only authorized users should be allowed to login".

Please help us in finding a solution for this. It will be really great if
some experts can provide us the code snippet for this.

Kind Regards & Thanks in Advance,

Gireesh
 
Reply With Quote
 
 
 
 
Dominick Baier [DevelopMentor]
Guest
Posts: n/a
 
      01-23-2006
Hi,

i think this will not work - several problems

a) there is no way to clear the credentials from ASP.NET - there is only
a client IE command that can do that.
b) there is no reliable way to detect a session end - Session_End only guarantees
to fire with InProc sessions

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> We have got an application which is using Integrated Windows
> authentication credential method for logging into the site. Our
> customer now is asking for a requirement to provide more security. The
> requirement is like this..
>
> "Whenever the session of the application expires(as per time in
> web.config), it should clear the User credentials so that even if the
> User enters the site url in the same browser instance,the Integrated
> Windows authentication credential dialog box should pop up. This will
> make the user to enter the userid and password again to access the
> application. In other words, even if the session expires, only
> authorized users should be allowed to login".
>
> Please help us in finding a solution for this. It will be really great
> if some experts can provide us the code snippet for this.
>
> Kind Regards & Thanks in Advance,
>
> Gireesh
>



 
Reply With Quote
 
 
 
 
Jim Cheshire
Guest
Posts: n/a
 
      01-23-2006
On Mon, 23 Jan 2006 05:19:02 -0800, "Datagrid left-right scroll
problem" < oft.com>
wrote:

>We have got an application which is using Integrated Windows authentication
>credential method for logging into the site. Our customer now is asking for a
>requirement to provide more security. The requirement is like this..
>
>"Whenever the session of the application expires(as per time in web.config),
>it should clear the User credentials so that even if the User enters the site
>url in the same browser instance,the Integrated Windows authentication
>credential dialog box should pop up. This will make the user to enter the
>userid and password again to access the application. In other words, even if
>the session expires, only authorized users should be allowed to login".
>
>Please help us in finding a solution for this. It will be really great if
>some experts can provide us the code snippet for this.
>



Gireesh,

This has to be done on the client via an ActiveX control calling the
InternetSetOption API. See this:

195192 How To Clear Logon Credentials to Force Reauthentication
http://support.microsoft.com/default...b;EN-US;195192


Jim Cheshire
--
Blog:
http://blogs.msdn.com/jamesche
 
Reply With Quote
 
Ken Schaefer
Guest
Posts: n/a
 
      01-27-2006
In addition to Dominick's comments, see:
http://www.adopenstatic.com/cs/blogs.../04/12/14.aspx

Cheers
Ken


"Datagrid left-right scroll problem"
< oft.com> wrote in message
news:7DF975FA-82DF-4CB3-B081-...
: We have got an application which is using Integrated Windows
authentication
: credential method for logging into the site. Our customer now is asking
for a
: requirement to provide more security. The requirement is like this..
:
: "Whenever the session of the application expires(as per time in
web.config),
: it should clear the User credentials so that even if the User enters the
site
: url in the same browser instance,the Integrated Windows authentication
: credential dialog box should pop up. This will make the user to enter the
: userid and password again to access the application. In other words, even
if
: the session expires, only authorized users should be allowed to login".
:
: Please help us in finding a solution for this. It will be really great if
: some experts can provide us the code snippet for this.
:
: Kind Regards & Thanks in Advance,
:
: Gireesh


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Send Basic HTTP authentication credential in the first HTTP request Nacho Nachev ASP .Net Web Services 2 09-05-2012 08:49 PM
Java - Integrated Windows Authentication - NTLM Authentication Forwarding Will Java 5 12-03-2005 01:00 AM
Basic Authentication v. Integrated Windows Authentication w/ Delegation Mark ASP .Net 0 01-20-2004 03:13 PM
Forms authentication - credential store Martin ASP .Net 3 01-10-2004 03:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57