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

Difference between datareader and dataset ?

4 Answers   Microsoft,


Differentiate session and cookie

1 Answers  


What is the < machinekey > element and what two ASP.NET technologies is it used for ?

1 Answers  


What is meant by asp.net?

0 Answers  


How many classes can a single .NET DLL contain?

14 Answers   Siebel Systems,






Who can consume WebAPI?

0 Answers  


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

0 Answers   Marlabs,


What events will occur when a page is loaded?

0 Answers  


What is microsoft windows sharepoint services?

0 Answers  


What are asynchronous callbacks?

0 Answers   Accenture,


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

0 Answers  


What are the intrinsic objects present in ASP.NET

1 Answers   IBM,


Categories