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
Explain the boxing and unboxing concept in .net?
What is the difference between response.redirect and server.transfer?
Name the tools or API for developing or testing web api?
How to set the pane area to transparent of a scrollPane component.?
Explain what the contents of cookie?
Which method is used to perform all validation at the page level?
Explain diff between dataset and datareader?
Explain the difference between server control and html control.
Is asp.net easy to learn?
What is the use of asp.net web api?
What is state management technique?
What is the difference between web.config and machine.config in ASP.NET?
What does passport and windows authentication mean in ASP.NET?
How ASP.NET page works?
Differentiate strong typing and weak typing