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
What are the new features implemented in ASP.NET?
What is _dopostback in asp net?
What is web configuration file and how to use in web application
Can viewstate be accessed in another page?
How does u call and execute a sp in .net?
3. What goals do you have in your career?
What is semantic gap?
What are the event handlers that we can have in global.asax file?
How does exception management works in ASP.NET?
How can we make sure that Web API returns JSON data only?
How to add DateTime Control in normal DataGrid Server Control?
What is the flow of processing of the request? : asp.net mvc
Can you explain composite pattern?
Explain the various authentication mechanisms in asp.net.
Give a few examples of page life cycle events.