IIS Server Security - deny access to folders but dont want logon prompt

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > January 2007 > deny access to folders but dont want logon prompt





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author deny access to folders but dont want logon prompt
Spechty

2007-01-26, 7:23 pm

I am setting up an intranet site. I am using Frontpage and have the page
published to an internal server.

On the hard disk I have set NTFS permissions to the folders where I have
certain pages and info. When denied users access the link to the folder the
page is in, they are given a log on prompt. I want to re-direct them to a
page that tells them the page access is denied. I want to avoid locked out
account because of the prompt.

If that isnt clear:

I have the main site under wwroot. I then created folders under that called
finance, marketing, ect, and in those I created the finance, and marketing
pages, with pertannat info. I have denied certain users rights to these
folders in NTFS. so when the user clicks a link off of the main page to the
finance page, they are given the log on prompt. I would like to redirect to
a denied page.

Ken Schaefer

2007-01-28, 7:21 am

You can write an ISAPI filter to intercept the return of the 401 Access
Denied error, and generate a custom error page instead

Cheers
Ken

"Spechty" <Spechty@discussions.microsoft.com> wrote in message
news:FF0CFF6D-FD96-4DBB-A755-B52F37F25D0E@microsoft.com...
>I am setting up an intranet site. I am using Frontpage and have the page
> published to an internal server.
>
> On the hard disk I have set NTFS permissions to the folders where I have
> certain pages and info. When denied users access the link to the folder
> the
> page is in, they are given a log on prompt. I want to re-direct them to a
> page that tells them the page access is denied. I want to avoid locked
> out
> account because of the prompt.
>
> If that isnt clear:
>
> I have the main site under wwroot. I then created folders under that
> called
> finance, marketing, ect, and in those I created the finance, and marketing
> pages, with pertannat info. I have denied certain users rights to these
> folders in NTFS. so when the user clicks a link off of the main page to
> the
> finance page, they are given the log on prompt. I would like to redirect
> to
> a denied page.
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com