Ask a Question related to ASP.NET Security, Design and Development.
-
Simon Harvey #1
Securing a directory
Hi everyone,
I just read an article that said that when you use a web.config file to
secure a directory, all it can do is secure the asp.net resources in that
directory - not any non .net resources.
For ecample, image files, html and asp files would not be secured.
I didnt actually realise this and it gave me a bit of a fright! Can anyone
suggest the best way to keep a directory secured in an application using
Forms Authentication.
It's not a problem for me at the moment because I havent made a site that
would be affected, but I'm not really sure how I would ensure a directory
was totally locked down should the need arise.
Thanks to anyone who can help
Kindest Regards
Simon
Simon Harvey Guest
-
Securing the CF administrator
I'm looking for a way to better secure the CF administrator, which comes up at http://www.domain.com/cfide/administrator/index.cfm because of the... -
Securing an ASP.Net application
Hi, I am writing a web application, and would like to make it secure. By secure I mean, that the data that is transmitted is not altered, and if... -
Securing a web service
Hi. Whats the best practice to secure a webserivce, basically I have already secured the webservice with XHEO however I need the webservice to... -
Securing web service
Hi How can I make sure that no one else can call and receive data from my web methods? Thanks Regards -
Securing a php website
I'm writing a php website. Which type of atacks are usually used against php scripts? Which kind of sent string could result in an intrusion in a... -
richlm #2
RE: Securing a directory
Simon
Yes that is correct - only files with an ASP.NET extension (.aspx, .asmx,...) are processed by the ASP.NET ISAPI extension
Files with .asp extension are processed by traditional ASP and so on.
NTFS permissions will be used for static files such as .jpg .txt etc.
You can see the mappings in the IIS manager - right click on your web site, "properties" then click "configuration" on the virtual directory tab.
Check this article on MSDN for more info:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetlpMSDN.asp[/url]
richlm Guest
-
richlm #3
RE: Securing a directory
One other thing - you should also run IIS lockdown wizard and install URLscan
You can configure URLscan to reject requests for file types that you don't want to be directly requestable
I run URLScan even in my development environment.
richlm Guest



Reply With Quote

