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

Web Designer vs Web

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

Download Bluestack Offline

Download BlueStack O

Download BlueStack Offline  BlueStack is software in which you can run ...

FireCMD user interface

Command Prompt (cmd.

Serious geeks spend a lot of time at the command ...