Can a user browsing my Web site read my Web.config or Global.asax files ?



Can a user browsing my Web site read my Web.config or Global.asax files ?..

Answer / bhim bharti

No. The <HTTPHANDLERS>section of Machine.config, which holds the master configuration settings for ASP.NET, contains entries that map ASAX files, CONFIG files, and selected other file types to an HTTP handler named HttpForbiddenHandler, which fails attempts to retrieve the associated file. You can modify it by editing Machine.config or including an section in a local Web.config file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the part of url?

0 Answers  


What are the difference between overriding and overloading?

0 Answers  


Describe the two main components of the .NET framework ?

2 Answers  


Is it true that a Web service must be written in .NET or not?

0 Answers   Siebel,


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

0 Answers   HCL,






what is Disco?what it will do?

2 Answers   Microsoft,


How many webforms are possible on a single webpage?

6 Answers  


We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

0 Answers  


What is sta?

0 Answers  


Can i have both C# and vb.net code in same assembly?how?

5 Answers   Wipro,


What is the viewstate in asp.net?

0 Answers  


Write the different features of a Thread and a Process?

0 Answers   Siebel,


Categories