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

Define the steps to set up validation control.

0 Answers  


Explain the concept of event bubbling in ASP.NET?

0 Answers   Sans Pareil IT Services,


How can you handle unmanaged code exceptions in asp.net?

0 Answers  


Explain about asp.net caching?

0 Answers  


how can we display records in single datagrid using two datasets in different place?

2 Answers   Global Computer, Honeywell,






Is asp.net web forms dead?

0 Answers  


Where does the Web page belong in the .NET Framework class hierarchy?

1 Answers   Perot Systems, Visual Soft,


What is a session in programming?

0 Answers  


What are asynchronous callbacks ?

6 Answers   Accenture, BirlaSoft,


where the stored procedure are written in business logic or data acess layer?

2 Answers  


Where is session cookies stored?

0 Answers  


What is custom tag in Web.Config?

0 Answers   Accenture,


Categories