Morpheusweb.it - Risorse per webmaster: script, ASP.NET, C#, Visual Basic .Net, tutorial, asp, javascript, css, php, html, java, ADO, VBScript, forms, frames, Active Server Pages, Dynamic HTML, database, gratis per webmaster e webdesigner

HttpHandler - << VERSIONE C# >>


Utilizzare gli httpHandlers nel web.config per bloccare l'accesso a determinati tipi di file


<system.web>
<httpHandlers>
<add verb="*" path="*.js" type="System.Web.HttpForbiddenHandler" />
<add verb="*" path="*.mdb" type="System.Web.HttpForbiddenHandler" />
<add verb="*" path="*.inc" type="System.Web.HttpForbiddenHandler" />
</httpHandlers>
</system.web>



Scarica il Codice...


Stampa la pagina


 








Inizio pagina

risorse per webmaster