deny access to folders but dont want logon prompt
am 26.01.2007 20:46:04 von Spechty
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.
Re: deny access to folders but dont want logon prompt
am 28.01.2007 09:31:19 von Ken Schaefer
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" 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.
>