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

is it possible to persiste customize object in view state? how it is?

2 Answers  


What are the two Layouts supported by a Web form in ASP.NET?

0 Answers   MCN Solutions,


What is the parent class of all web server control?

0 Answers  


How tooltip is set through code-behind in ASP.NET?

0 Answers  


How do you a replicate a set of controls across a number of ASP Pages

2 Answers  






What is strong-typing versus weak-typing? Which is preferred? Why?

2 Answers  


What are validator? How do you disable them?

0 Answers  


What are the different types of sessions in asp.net?

0 Answers  


What are the different types of validation controls in asp.net?

0 Answers  


What is the Difference between MVC And MVP design pattrens

0 Answers   Symphony,


What is postback in asp net?

0 Answers  


How ASP and ASP.NET page works? Explain about asp.net page life cycle?

0 Answers  


Categories