(whatever file extensions you want ) files can not be downloaded/shown.
Open your web.config file and Register following setting in your web.config
<system.web> <httpHandlers>
<add verb="*" path="*.txt"
type="System.Web.HttpForbiddenHandler" /> </httpHandlers> </system.web>
For more details how to register handler in web.config check
out this link
No comments:
Post a Comment