Re: Role based security - file downloads
- From: Kevin Jones <kjonesNOSPAM@xxxxxxxxxxx>
- Date: Tue, 22 Aug 2006 22:10:06 +0100
IIS is handling the mapping so you need to change the behaviour there. One way to do this is in IIS map the .PDF to the ASP.Net handler then make sure PDFs are processed as static files by the ASP runtime,
Kevin
Mesan wrote:
I have a directory in an app I'm building that has access limited to.
users within a specific role and all aspx pages in that directory are
unavailable just as I'd hope but other files (pdfs and whatnot) can be
downloaded by anyone without authenticating or anything. What does it
take for the use to be redirected to the login page when they try to
access mysite/private/secrets.pdf ?
- Follow-Ups:
- Re: Role based security - file downloads
- From: Mesan
- Re: Role based security - file downloads
- References:
- Role based security - file downloads
- From: Mesan
- Role based security - file downloads
- Prev by Date: Re: Using an ASPX file as a Script Source
- Next by Date: Re: master pages
- Previous by thread: Role based security - file downloads
- Next by thread: Re: Role based security - file downloads
- Index(es):
Relevant Pages
|