ASP.NET ascx.cs via GET

Posted by Heavy Bytes on Stack Overflow See other posts from Stack Overflow or by Heavy Bytes
Published on 2010-03-12T19:27:30Z Indexed on 2010/03/12 19:37 UTC
Read the original article Hit count: 388

Filed under:
|
|

Say I have this url: http://site.example/dir/

In this folder I have these files: test.ascx.cs and test.ascx

Just to be clear, I am not a .NET developer.

From a security point of view - why can't I access http://site.example/dir/test.ascx.cs and how secure is it to keep those files there?

I assume IIS filters out request that query these kind of files, but can someone explain me this?

Thank you.

© Stack Overflow or respective owner

Related posts about security

Related posts about ASP.NET