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 session variables?
Explain the advantages of passport authentication.
How can we make sure that Web API returns JSON data only?
Explain the code Access Security (CAS) in .net Framework?
Why do we need a web application session?
How would you turn off cookies on one page of your website?
What is form submit?
What are session cookies?
Explain Session state management options in ASP.NET.
Describe how passport authentication works.
How do you secure your connection string information?
Explain the concept of View Model in MVC?
What are the differnt types of handler in ASP.NET?
What symbol specifies the beginning of a query string?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?