Locked User Accounts On IIS 5.0
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Locked User Accounts On IIS 5.0




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Locked User Accounts On IIS 5.0  
wallywombat


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:56 PM

Is there a way I can customize an http error message so that if the
users account is locked out that it displays a message stating that the
account is locked out rather than the normal access denied message
(401).

Chad






[ Post a follow-up to this message ]



    Re: Locked User Accounts On IIS 5.0  
Scilabop


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:56 PM

Hi Chad,

I am working on this too. But I haven't got a clue. You might want to read
my posting of "identify disabled users and bad passwards" on Dec. 17. Hope
to share any information we get.

Thanks.

Ally


"wallywombat" <wallywombat@gmail.com> wrote in message
news:1103649832.016501.232700@c13g2000cwb.googlegroups.com...
> Is there a way I can customize an http error message so that if the
> users account is locked out that it displays a message stating that the
> account is locked out rather than the normal access denied message
> (401).
>
> Chad
>







[ Post a follow-up to this message ]



    Re: Locked User Accounts On IIS 5.0  
Bernard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 07:47 AM

Unless you are doing your own authentication check, and OS replied you with
the correct status. AFAIK, you can't achieve this with built IIS
authentication and log file status code.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



"Scilabop" <scilabop@Xuvic.ca> wrote in message
news:eY8KD165EHA.1408@TK2MSFTNGP10.phx.gbl...
> Hi Chad,
>
> I am working on this too. But I haven't got a clue. You might want to read
> my posting of "identify disabled users and bad passwards" on Dec. 17. Hope
> to share any information we get.
>
> Thanks.
>
> Ally
>
>
> "wallywombat" <wallywombat@gmail.com> wrote in message
> news:1103649832.016501.232700@c13g2000cwb.googlegroups.com... 
>
>







[ Post a follow-up to this message ]



    Re: Locked User Accounts On IIS 5.0  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 07:47 AM

Generally, no.

You can create a customised 401 error page BUT it is up to the browser to
decide what to display to the user. For 401 error, IE always displays the
Access Denied message that you see - you can't customise that.

What you'd need to do is see what the HTTP status is (eg in ISAPI filter, or
ASP.NET HTTP Module) and /change/ the status to something else (eg 200 OK),
and then the browser can be tricked into displaying your custom page.

I could be wrong about the above, but I'm reasonably certain that it is
correct.

Cheers
Ken

"wallywombat" <wallywombat@gmail.com> wrote in message
news:1103649832.016501.232700@c13g2000cwb.googlegroups.com...
> Is there a way I can customize an http error message so that if the
> users account is locked out that it displays a message stating that the
> account is locked out rather than the normal access denied message
> (401).
>
> Chad
>







[ Post a follow-up to this message ]



    Re: Locked User Accounts On IIS 5.0  
Scilabop


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 10:54 PM

Having my own authentication check would involve other security issues. I
think I'd take advantage of the built IIS one.
I now have an idea in my mind. When an authentication fails, the HTTP 401
error triggers a script, which queries the security event log with a WMI
object, and identifies the failure reason with the EventCode, for an
example, 531 for disabled account.
I haven't figured out  how the vbscript codewould look like. The first
problem I encountered here is mapping the HTTP 401 error to an URL. What
Bernard replied on my posting on Dec.17 seems to be right. I just can't do
the URL mapping. Annoying...

Ally


"Bernard" <qbernard@hotmail.com.discuss> wrote in message
news:eFIePy95EHA.3736@TK2MSFTNGP10.phx.gbl...
> Unless you are doing your own authentication check, and OS replied you
with
> the correct status. AFAIK, you can't achieve this with built IIS
> authentication and log file status code.
>
> --
> Regards,
> Bernard Cheah
> http://www.tryiis.com/
> http://support.microsoft.com/
> http://www.msmvps.com/bernard/
>
>
>
> "Scilabop" <scilabop@Xuvic.ca> wrote in message
> news:eY8KD165EHA.1408@TK2MSFTNGP10.phx.gbl... 
read[vbcol=seagreen] 
Hope[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Locked User Accounts On IIS 5.0  
Bernard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 07:47 AM

:-)  that's IIS

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



"Scilabop" <scilabop@Xuvic.ca> wrote in message
news:elGOG8E6EHA.4028@TK2MSFTNGP15.phx.gbl...
> Having my own authentication check would involve other security issues. I
> think I'd take advantage of the built IIS one.
> I now have an idea in my mind. When an authentication fails, the HTTP 401
> error triggers a script, which queries the security event log with a WMI
> object, and identifies the failure reason with the EventCode, for an
> example, 531 for disabled account.
> I haven't figured out  how the vbscript codewould look like. The first
> problem I encountered here is mapping the HTTP 401 error to an URL. What
> Bernard replied on my posting on Dec.17 seems to be right. I just can't do
> the URL mapping. Annoying...
>
> Ally
>
>
> "Bernard" <qbernard@hotmail.com.discuss> wrote in message
> news:eFIePy95EHA.3736@TK2MSFTNGP10.phx.gbl... 
> with 
> read 
> Hope 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:13 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register