Re: How to bypass Forms Authentication on selected pages programmatica



Use the HttpContext.SkipAuthorization property to turn authorization on or
off programmatically on a page by page basis. You probably want to put this
code in global.asax or an IHttpModule.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"ajmehra" <ajmehra@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A9894367-B2BC-496D-9FD7-057381022AC6@xxxxxxxxxxxxxxxx
Hi

I am trying to bypass Forms Authentication on certain pages
programmatically. Any thoughts will be appreciated.

Thanks,
AJ


.



Relevant Pages

  • Re: Contacts and PKI Certificates
    ... I have no idea how to set this via the various admin GUI tools. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: request page I cant have -> goes to login
    ... You can also programmatically set HttpContext.SkipAuthorization to true ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Update Lockout user attribute Programmatically
    ... You can't programmatically lock a user in any other way than by generating ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... the account, many other call for disable account. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Manage AD via web
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... Management over ... web needs to be required. ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP Query
    ... If you really want to do some LDAP programming, you need a more serious tool ... to help you model and test your queries. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)