Re: asp.net forms authentication override based on individual pages.



There are two ways to solve this problem.

1. Have a second page for public access to messages that filters for
messages where IsPublic=true.
2. Write your own authentication bits for the "display message" page that
alters the query based on whether the user is logged in or not.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
"Nalaka" <nalaka12@xxxxxxxxxxxxx> wrote in message
news:uvz$YOAwHHA.4132@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a asp.net application with forms authentication enabled.
Users create private (database driven) messages (pages; like a message
board) that is only viewed by logged in users.

Now I need to give the users the ability to publish these messages to the
public (if they decide the content is public safe).

Question is... is there a method to override forms authentication?
For an example; some thing like a method... where I look at the URL and
retrun true or false... so forms authentication is ignored based on this
method return value....


Basically to programatically ignore forms authentication for that request
only.

Any direction is deply appreciated
Thanks
Nalaka




.



Relevant Pages

  • RE: [fw-wiz] "802.1x"?
    ... wired and wireless end-point authentication solution. ... the access device (WAP or switch) has a default set of filters ...
    (Firewall-Wizards)
  • Server 2003 Cals question (again)
    ... nothing else at all running on the IIS machine. ... there will be some public access as well ... using no authentication - I may have 10, 20 users on at a time, who ... I was hopeing i could just have web edition with no calls but ...
    (microsoft.public.windows.server.general)

Loading