Computer & IT Tips By Akash Padhiyar

In this post i will show you how to restrict your web app so that .txt (whatever file extensions you want ) files can not be downloaded.
Open your web.config file and register following setting in your web.config

<add verb=”*” path=”*.txt” type=”System.Web.HttpForbiddenHandler” />

Akash Padhiyar

I am Akash Padhiyar Founder of,BCA MCA Tutor ,Running Web development compnay "AkashInfoTech".

More Posts - Website - Facebook

Categories: Asp.Net

Leave a Reply

Google Search

Popular Posts


Bigrock Hosting Prom

Bigrock Hosting PromoCode October 2016 HOSTING FEST! Flat 40% Off! Festivities ...


DotCom Domain Name a

DotCom Domain Name at Rs.99 Bigrock .Com Promocode end date for ...

Web Designer vs Web

This Infographic explain you what is role of Web Designer and ...