Forms Authentication

N

Norm

Is it possible to authenticate only a certain page or set of pages within an
ASP.NET application that are all in the same folder? In other words, I have a
web directory that contains multiple ASPX pages, but I only want to
authenticate on one of the pages.

Is it possible to set up the wbe.config file in such a way? I do not want to
have to resort to putting the one page I want to authenticate on into a
different subfolder with its own web.config file.
 
P

Paul Clement

¤ Is it possible to authenticate only a certain page or set of pages within an
¤ ASP.NET application that are all in the same folder? In other words, I have a
¤ web directory that contains multiple ASPX pages, but I only want to
¤ authenticate on one of the pages.
¤
¤ Is it possible to set up the wbe.config file in such a way? I do not want to
¤ have to resort to putting the one page I want to authenticate on into a
¤ different subfolder with its own web.config file.

I would take a look at the below article. It demonstrates how to use Forms based authentication for
selected pages:

http://msdn.microsoft.com/msdnmag/issues/02/05/ASPSec2/default.aspx


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,817
Members
47,363
Latest member
eitamoro

Latest Threads

Top