M
MikeD
Hello,
I'm trying to work out the approved method of securing sections of my site.
The site consists of two areas, one available to everyone and the other only
availble to those who know the password. I'm using forms authentication
located within the webconfig to control this, but i'm running into problems.
Is it possible to indicate within the webconfig file which pages should be
protected? My other options i've tried so far are to include a subfolder
within the project (i'm using VS.NET) but that causes me problems with the
InheritsFrom statement at the top of the aspx page as it seems to have
trouble referencing a subfolder or something. And I've tried including a
second project for the secure part of the site with it's own webconfig file,
but it says that I can't then use user controls saved in the unsecure part
of the site.
Is there an approved method of how to go about setting up secure and
unsecure areas within a solution?
Cheers,
<M>ike
I'm trying to work out the approved method of securing sections of my site.
The site consists of two areas, one available to everyone and the other only
availble to those who know the password. I'm using forms authentication
located within the webconfig to control this, but i'm running into problems.
Is it possible to indicate within the webconfig file which pages should be
protected? My other options i've tried so far are to include a subfolder
within the project (i'm using VS.NET) but that causes me problems with the
InheritsFrom statement at the top of the aspx page as it seems to have
trouble referencing a subfolder or something. And I've tried including a
second project for the secure part of the site with it's own webconfig file,
but it says that I can't then use user controls saved in the unsecure part
of the site.
Is there an approved method of how to go about setting up secure and
unsecure areas within a solution?
Cheers,
<M>ike