Re: Limiting access to pages

From: Pat (naijacoder_at_hotmail.com)
Date: 08/29/05


Date: Mon, 29 Aug 2005 14:47:31 +1000

Lyners the error you are getting doesn't seem its related to security issue
but compilation issue..
Pls elaborate.
Patrick

"Lyners" <Lyners@discussions.microsoft.com> wrote in message
news:83054D38-5C64-4E8B-A8BC-DD9742D04AF8@microsoft.com...
> I have an application that runs over our intranet. I have some pages I
only
> want "Administrative" people to see. I thought one way of doing this was
to
> creqate a sub directory in the application dorectory and add a web.config
> file that would limit access to only those that we want as admin. But when
I
> created the sub directory and moved the aspx pages there i got an error
> stating;
>
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
>
> Parser Error Message: Could not load type
'Application.SubDirectory\WebPage'.
>
> What is the correct way to add a security layer like this, and what is the
> appropriate way to move files to sub directories and have them run? I
think
> it has somethin to do with the code behind.
>
> Lyners
>
>