Focus on Microsoft
RE: Harden ASP.NET Configuration May 13 2003 08:37PM
Deus, Attonbitus (Thor HammerofGod com)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 12:13 PM 5/13/2003, Henry Sieff wrote:

>However, for each of those mappings, make sure you don't use it,
>because if you do have files in a publically accessible directory
>and you remove the mapping, source code is made visible. For
>example, most likely your asp.net app has some .vb files lying
>around. With the script mapping, if I request a .vb page, I get a
>big fat "Can't do that, Dave". Without it, IIS happily shows me the
>source code.

(just to chime in with my .02) And for the exact same reason, don't
make
.bak files of your code and leave them on the server. Far too
often
developers will copy an asp file to a bak file before making a
change-- it
is quite easy to spider a site for .asp pages and perform forced
browsing
of .bak files to get hold of source code, like with Arsenal or
such... It
is a great way to get hold of source in many cases.

T

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBPsFXlohsmyD15h5gEQJoEQCg6SFTW+DWL9NE3EKI6AzpF7PVh+YAoKXP
wMBg7joVu47vZMWSS/8I0jjH
=I5hZ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------
-----
*** Wireless LAN Policies for Security & Management - NEW White Paper ***
Just like wired networks, wireless LANs require network security policies
that are enforced to protect WLANs from known vulnerabilities and threats.
Learn to design, implement and enforce WLAN security policies to lockdown enterprise WLANs.

To get your FREE white paper visit us at:
http://www.securityfocus.com/AirDefense-focus-ms
------------------------------------------------------------------------
------

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus