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 httpresponse?

0 Answers  


How many types of state management are there in asp net?

0 Answers  


what is new debug tools in asp.net ?

1 Answers  


I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?

0 Answers   Excel,


Way of updating a table other than stored procedure and hard coded query?

2 Answers  






What?s a bubbled event?

1 Answers  


Advantage of data Reader?

2 Answers  


Why does my asp.net file have multiple tag with runat=server?

0 Answers  


What are tuples?

0 Answers  


Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx. All pages are in diff. server. When user req. for a page, Page1.aspx opens Ist & a session established. If user req. for IIn page, second session established. Similarly, 3rd session established if user req. 3rd page. In this scenario, tot. 03 sessions are established. How we can minimize it so that it will work with only one session?

3 Answers   TCS, Wipro,


Difference between Active Exe and Dll ?

3 Answers   Satyam,


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

0 Answers   InfoAxon Technologies,


Categories