all groups > iis security > january 2007 >
You're in the

iis security

group:

deny access to folders but dont want logon prompt


deny access to folders but dont want logon prompt Spechty
1/26/2007 11:46:04 AM
iis security:
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 Ken Schaefer
1/28/2007 7:31:19 PM
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

[quoted text, click to view]
AddThis Social Bookmark Button