{"postItGuid":"224ff18d-35f7-4d3e-9618-b304e713aad7","titel":"ASPX - Programmierer aufgepasst !!!","postIt1":"Es ist ganz einfach und sollte von jedem aspx.net Seiten Projekt Programmierer in der Global.asax eingefügt werden (sonst kann man in geschützte Bereiche kommen):<BR><BR>void Application_BeginRequest(object source, EventArgs e) <BR>{<BR>&nbsp;&nbsp;&nbsp; if (Request.Path.IndexOf('\\\\') &gt;= 0 ||<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.IO.Path.GetFullPath(Request.PhysicalPath) !=&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Request.PhysicalPath) <BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw new HttpException(404, \"not found\");<BR>&nbsp;&nbsp;&nbsp; }<BR>}","datum":"2004-10-09T01:04:13.593","kooK":0.0100,"postItZust":null,"url":"http://support.microsoft.com/?kbid=887459","datei":"","hits":5554,"typ":"txt","codes":[],"provisions":[],"topLabs":[],"wurzelns":[]}