2
Most read
3
Most read
7
Most read
By-Teach4u.in
Content
1. Web.config
2. Why Applications?
3. IIS
1. Role in handing a request
4. .NET
1. Applications
2. Application Object
3. Global.asax
5. Configuration files
1. Machine.config
2. Web.Config
What is Web.Config File?
Configuration file is used to manage various settings
that define a website. The settings are stored in XML
files that are separate from your application code. In
this way you can configure settings independently
from your code. Generally a website contains aingle
Web.config file stored inside the application root
directory. However there can be many configuration
files that manage settings at various levels within an
application.
Why Applications?
Dark ages (pre-2003)
Server crashes not unusual
 Single failure bring down whole system
Worse yet:
 Memory leaks
 Cause IIS hang
 Stop serving pages
 Required manual intervention
(reboot)
Why Applications
Today (Windows Server 2003 & later)
Applications still crash
 Applications are compartmentalized
 OS handles gracefully
System rarely affected
OS monitors application health
 Recycles unhealthy processes
Result: system stable & reliable
IIS Overview
IIS Applications
Folders may be configured as “Applications”
IIS configuration interface
Each application is assigned to an Application Pool
 Each application pool has a unique Windows process
Specify error handling, timeouts, etc. for each application
Benefit:
Compartmentalize applications
Reduces dependencies
 Improves reliability
Allows application specific settings
 Error handling, log files, filters, headers, timeouts…
 100’s of settings
Applications Settings
Configuration settings:
Web.config
 Application level settings
 Located in root folder
Machine.config
 Settings common to all applications
Application event handlers
Global.asax file
 Located in root folder
ASP.NET Configuration
.config files
Hierarchical configuration
Similar to CSS
 Inheritance
 Child has precedence over parent
Machine.config
Rarely need to modify
Web.Config
XML file
Case sensitive
Camel casing
Configure:
Application settings
Error handling
Timeouts
Sessions…etc. etc.
Authentication
documentation
Security
.config files not served
Global.asax
Handles application & session events
15+ events
Application_start
Application_error
Session_start
Located in root folder of application
Triggered each page request
Optional
Global.asax
Example:
Create new application on server
web.config: source
global.asax: source
TestPage.aspx: source, output
Summary
Configuration Objectives:
 Flexibility
 Security
 Reliability
 Convenience
IIS
 Handles requests
Application
 Application object
 Events: global.asax
Configuration
 Machine.config
 Web.config

More Related Content

PPTX
Role and function of operating system
PPTX
Virus and malware presentation
PPTX
File system structure
PDF
NTFS file system
PDF
PPTX
Locus Distributed Operating System
PPTX
Introduction to File System
DOCX
Er and data flow diagram
Role and function of operating system
Virus and malware presentation
File system structure
NTFS file system
Locus Distributed Operating System
Introduction to File System
Er and data flow diagram

What's hot (20)

PPT
System call
PPTX
Multithreading models.ppt
PDF
Web Application Security and Awareness
PPTX
What is Server? (Web Server vs Application Server)
PPT
Chapter 7 - Deadlocks
PPT
Introduction to windows
PPTX
Window architecture
PPTX
School management system
PPTX
Operating system
PDF
MODERN OPERATING SYSTEM
PPTX
Operating system basics
PPTX
Vapt life cycle
PPTX
Database failure and recovery 1
PPT
Introduction To OWASP
PDF
Types of access control systems
PDF
File system in operating system e learning
PPTX
Owasp top 10 vulnerabilities
PPT
Linux forensics
PPTX
Windows memory management
PPT
How to install windows 10
System call
Multithreading models.ppt
Web Application Security and Awareness
What is Server? (Web Server vs Application Server)
Chapter 7 - Deadlocks
Introduction to windows
Window architecture
School management system
Operating system
MODERN OPERATING SYSTEM
Operating system basics
Vapt life cycle
Database failure and recovery 1
Introduction To OWASP
Types of access control systems
File system in operating system e learning
Owasp top 10 vulnerabilities
Linux forensics
Windows memory management
How to install windows 10
Ad

Viewers also liked (15)

PPTX
орієнтування
PDF
Exemplos tensoes solo
PDF
ñLkdjfhñakdjhñakdjfhkfdjmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...
PPTX
Presentation1
PDF
Rainbow Ice Cave
PPTX
El fuero constitucional
PPTX
Bordes Igualados en Crochet / Ganchillo
DOCX
Excusive managing director
DOCX
Matriz de valoración del portafolio interactivo digital nancy
PPTX
Film distribution research
PPTX
El autoestima
PPT
захист вітчизни (гела оксана)
PPTX
Tema 6 apartado 1 y 2
PDF
Michael_Lafleur_Resume_15_Computer_v2
PDF
PEDDINGHAUS BROCHURE
орієнтування
Exemplos tensoes solo
ñLkdjfhñakdjhñakdjfhkfdjmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...
Presentation1
Rainbow Ice Cave
El fuero constitucional
Bordes Igualados en Crochet / Ganchillo
Excusive managing director
Matriz de valoración del portafolio interactivo digital nancy
Film distribution research
El autoestima
захист вітчизни (гела оксана)
Tema 6 apartado 1 y 2
Michael_Lafleur_Resume_15_Computer_v2
PEDDINGHAUS BROCHURE
Ad

Similar to security configuration (20)

PPTX
asp.net Webconfiguration
PPTX
PPTX
Ch 04 asp.net application
PDF
Top_Five_problems_In_EBS_Administration.pdf
PPT
IIS 6.0 and asp.net
DOC
Tips on successfully upgrading to apps 11i for the non apps dba
PPTX
Asp .net folders and web.config
PPTX
Asp .net folders and web.config
PDF
Maintaining and Caring for your EPM Environment at Medinah 2013
PDF
File based approach
PDF
ASP.NET Unit-2.pdf
PPT
Road Show Asp Net
PPT
Iis it-slideshares.blogspot.com
PPT
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
PDF
Asp.net+interview+questions+and+answers
PPTX
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
PPTX
IIS 7.0 +
PPTX
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
PPTX
IIS 6 - General System Administration Overview
PPTX
SharePoint Saturday Michigan Keynote - Top 5 Infrastructure Concerns for a Sh...
asp.net Webconfiguration
Ch 04 asp.net application
Top_Five_problems_In_EBS_Administration.pdf
IIS 6.0 and asp.net
Tips on successfully upgrading to apps 11i for the non apps dba
Asp .net folders and web.config
Asp .net folders and web.config
Maintaining and Caring for your EPM Environment at Medinah 2013
File based approach
ASP.NET Unit-2.pdf
Road Show Asp Net
Iis it-slideshares.blogspot.com
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
Asp.net+interview+questions+and+answers
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
IIS 7.0 +
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
IIS 6 - General System Administration Overview
SharePoint Saturday Michigan Keynote - Top 5 Infrastructure Concerns for a Sh...

More from teach4uin (20)

PPTX
Controls
PPT
validation
PPT
validation
PPT
Master pages
PPTX
.Net framework
PPT
Scripting languages
PPTX
Css1
PPTX
Code model
PPT
Asp db
PPTX
State management
PPT
static dynamic html tags
PPT
static dynamic html tags
PPTX
New microsoft office power point presentation
PPT
.Net overview
PPT
Stdlib functions lesson
PPT
enums
PPT
memory
PPT
array
PPT
storage clas
PPT
Cprogrammingprogramcontrols
Controls
validation
validation
Master pages
.Net framework
Scripting languages
Css1
Code model
Asp db
State management
static dynamic html tags
static dynamic html tags
New microsoft office power point presentation
.Net overview
Stdlib functions lesson
enums
memory
array
storage clas
Cprogrammingprogramcontrols

Recently uploaded (20)

PDF
Diabetes Mellitus , types , clinical picture, investigation and managment
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PPTX
ACFE CERTIFICATION TRAINING ON LAW.pptx
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
PPTX
climate change of delhi impacts on climate and there effects
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PPTX
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
PDF
Health aspects of bilberry: A review on its general benefits
PDF
LATAM’s Top EdTech Innovators Transforming Learning in 2025.pdf
DOCX
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
PPSX
namma_kalvi_12th_botany_chapter_9_ppt.ppsx
PPTX
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
PPTX
Theoretical for class.pptxgshdhddhdhdhgd
PDF
Physical pharmaceutics two in b pharmacy
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PDF
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
PPTX
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
PDF
IS1343_2012...........................pdf
PDF
Unleashing the Potential of the Cultural and creative industries
Diabetes Mellitus , types , clinical picture, investigation and managment
CHROMIUM & Glucose Tolerance Factor.pptx
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
ACFE CERTIFICATION TRAINING ON LAW.pptx
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
climate change of delhi impacts on climate and there effects
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
Health aspects of bilberry: A review on its general benefits
LATAM’s Top EdTech Innovators Transforming Learning in 2025.pdf
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
namma_kalvi_12th_botany_chapter_9_ppt.ppsx
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
Theoretical for class.pptxgshdhddhdhdhgd
Physical pharmaceutics two in b pharmacy
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
IS1343_2012...........................pdf
Unleashing the Potential of the Cultural and creative industries

security configuration

  • 2. Content 1. Web.config 2. Why Applications? 3. IIS 1. Role in handing a request 4. .NET 1. Applications 2. Application Object 3. Global.asax 5. Configuration files 1. Machine.config 2. Web.Config
  • 3. What is Web.Config File? Configuration file is used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code. In this way you can configure settings independently from your code. Generally a website contains aingle Web.config file stored inside the application root directory. However there can be many configuration files that manage settings at various levels within an application.
  • 4. Why Applications? Dark ages (pre-2003) Server crashes not unusual  Single failure bring down whole system Worse yet:  Memory leaks  Cause IIS hang  Stop serving pages  Required manual intervention (reboot)
  • 5. Why Applications Today (Windows Server 2003 & later) Applications still crash  Applications are compartmentalized  OS handles gracefully System rarely affected OS monitors application health  Recycles unhealthy processes Result: system stable & reliable
  • 7. IIS Applications Folders may be configured as “Applications” IIS configuration interface Each application is assigned to an Application Pool  Each application pool has a unique Windows process Specify error handling, timeouts, etc. for each application Benefit: Compartmentalize applications Reduces dependencies  Improves reliability Allows application specific settings  Error handling, log files, filters, headers, timeouts…  100’s of settings
  • 8. Applications Settings Configuration settings: Web.config  Application level settings  Located in root folder Machine.config  Settings common to all applications Application event handlers Global.asax file  Located in root folder
  • 9. ASP.NET Configuration .config files Hierarchical configuration Similar to CSS  Inheritance  Child has precedence over parent Machine.config Rarely need to modify
  • 10. Web.Config XML file Case sensitive Camel casing Configure: Application settings Error handling Timeouts Sessions…etc. etc. Authentication documentation Security .config files not served
  • 11. Global.asax Handles application & session events 15+ events Application_start Application_error Session_start Located in root folder of application Triggered each page request Optional
  • 12. Global.asax Example: Create new application on server web.config: source global.asax: source TestPage.aspx: source, output
  • 13. Summary Configuration Objectives:  Flexibility  Security  Reliability  Convenience IIS  Handles requests Application  Application object  Events: global.asax Configuration  Machine.config  Web.config