Re: Deny access to a directory with web.config
From: Matt (none_at_none.com)
Date: 04/27/05
- Next message: poz: "Re: Webapplication Login and RSA API"
- Previous message: xarky d_best: "Re: Securing an ASP.Net application"
- In reply to: Brock Allen: "Re: Deny access to a directory with web.config"
- Next in thread: Juan T. Llibre: "Re: Deny access to a directory with web.config"
- Reply: Juan T. Llibre: "Re: Deny access to a directory with web.config"
- Reply: Brock Allen: "Re: Deny access to a directory with web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Apr 2005 10:25:43 +0200
Good suggestion, but is there a way to control access to that
directory with the web.config?
Thanks.
>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!
>>
>
>
- Next message: poz: "Re: Webapplication Login and RSA API"
- Previous message: xarky d_best: "Re: Securing an ASP.Net application"
- In reply to: Brock Allen: "Re: Deny access to a directory with web.config"
- Next in thread: Juan T. Llibre: "Re: Deny access to a directory with web.config"
- Reply: Juan T. Llibre: "Re: Deny access to a directory with web.config"
- Reply: Brock Allen: "Re: Deny access to a directory with web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|