Re: Deny access to a directory with web.config
From: Brock Allen (ballen_at_NOSPAMdevelop.com)
Date: 04/26/05
- Previous message: Matt: "Deny access to a directory with web.config"
- In reply to: Matt: "Deny access to a directory with web.config"
- Next in thread: Matt: "Re: Deny access to a directory with web.config"
- Reply: Matt: "Re: Deny access to a directory with web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 26 Apr 2005 14:25:30 -0700
You can move the directory outside of the web application's directory.
-Brock
DevelopMentor
http://staff.develop.com/ballen
> Hello,
> I'm working on a portal based on IBuySpy, where the main page is
> desktopdefault.aspx and all content is stored in
> www.domain.com/content/html/nnn
> or
> www.domain.com/content/images/nnn
> and injected in the desktopdefault.aspx page.
> How can I prevent users doing www.domain.com/content/images/test.jpg
> and getting the image (or the html file, or whatever inside the
> content directory?)
> It doesn't matter if the user is authenticated or not, I just want
> obly the webapplication to be able to load and display the files
> inside the /content directory.
> Can I do this just manipulating the web.config, without changing
> directory permissions on the webserver?
>
> Thanks!
>
- Previous message: Matt: "Deny access to a directory with web.config"
- In reply to: Matt: "Deny access to a directory with web.config"
- Next in thread: Matt: "Re: Deny access to a directory with web.config"
- Reply: Matt: "Re: Deny access to a directory with web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|