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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the new features implemented in ASP.NET?

607


What is _dopostback in asp net?

530


What is web configuration file and how to use in web application

593


Can viewstate be accessed in another page?

509


How does u call and execute a sp in .net?

551






3. What goals do you have in your career?

1423


What is semantic gap?

621


What are the event handlers that we can have in global.asax file?

532


How does exception management works in ASP.NET?

617


How can we make sure that Web API returns JSON data only?

541


How to add DateTime Control in normal DataGrid Server Control?

582


What is the flow of processing of the request? : asp.net mvc

508


Can you explain composite pattern?

594


Explain the various authentication mechanisms in asp.net.

491


Give a few examples of page life cycle events.

672