What"s the easiest way to secure a web folder?

What"s the easiest way to secure a web folder?

am 15.01.2008 03:38:14 von gnewsgroup

I have a membership web application. A user is either an
administrator or a regular user (only 2 roles)

I have an admin folder in this application. I want only
administrators to be able to access that folder.

I am not using the .net member/role/profile framework. What's the
easiest way to secure that admin folder?

Thanks.

RE: What"s the easiest way to secure a web folder?

am 15.01.2008 06:58:00 von MisbahArefin

set the role required for the admin pages via the locations section in the
web.config










--
Misbah Arefin



"gnewsgroup" wrote:

> I have a membership web application. A user is either an
> administrator or a regular user (only 2 roles)
>
> I have an admin folder in this application. I want only
> administrators to be able to access that folder.
>
> I am not using the .net member/role/profile framework. What's the
> easiest way to secure that admin folder?
>
> Thanks.
>
>
>

Re: What"s the easiest way to secure a web folder?

am 15.01.2008 12:07:34 von nomailreplies

re:
!> set the role required for the admin pages via the locations section in the web.config

The OP specifically stated that he is *not* using the "member/role/profile framework"

So, the easiest way to secure that admin folder is to *implement membership and roles*,
and *then* secure the folder as you describe in your answer.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Misbah Arefin" wrote in message
news:A9AC28A8-FAA9-4C88-AC6C-E6E1DCC050A3@microsoft.com...
> set the role required for the admin pages via the locations section in the
> web.config
>
>
>
>
>
>
>

>

>

>
> --
> Misbah Arefin
>
>
>
> "gnewsgroup" wrote:
>
>> I have a membership web application. A user is either an
>> administrator or a regular user (only 2 roles)
>>
>> I have an admin folder in this application. I want only
>> administrators to be able to access that folder.
>>
>> I am not using the .net member/role/profile framework. What's the
>> easiest way to secure that admin folder?
>>
>> Thanks.
>>
>>
>>

Re: What"s the easiest way to secure a web folder?

am 15.01.2008 15:32:06 von gnewsgroup

On Jan 15, 6:07 am, "Juan T. Llibre"
wrote:
> re:
> !> set the role required for the admin pages via the locations section in =
the web.config
>
> The OP specifically stated that he is *not* using the "member/role/profile=
framework"
>
> So, the easiest way to secure that admin folder is to *implement membershi=
p and roles*,
> and *then* secure the folder as you describe in your answer.
>
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espa=F1ol :http://asp.net.do/foros/

Haha, that's a good answer. I may look into it and implement a very
basic membership provider. Thx.

Re: What"s the easiest way to secure a web folder?

am 15.01.2008 15:50:26 von nomailreplies

re:
!> Haha, that's a good answer.



re:
!> I may look into it and implement a very basic membership provider.

That will, certainly, do it for you.

re:
!> Thx.

You're quite welcome.
If you run into any problems implementing the membership provider or the roles, post again.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"gnewsgroup" wrote in message
news:143d7a45-6084-4aea-bbbc-736e83f573a9@e23g2000prf.google groups.com...
On Jan 15, 6:07 am, "Juan T. Llibre"
wrote:
> re:
> !> set the role required for the admin pages via the locations section in the web.config
>
> The OP specifically stated that he is *not* using the "member/role/profile framework"
>
> So, the easiest way to secure that admin folder is to *implement membership and roles*,
> and *then* secure the folder as you describe in your answer.
>
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en español :http://asp.net.do/foros/

Haha, that's a good answer. I may look into it and implement a very
basic membership provider. Thx.