1.Net Framework.Net Framework.NET Architecture and Security By Prasad Sundararajan Jan. 2002.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

 2004 Prentice Hall, Inc. All rights reserved. Chapter 23 – ASP.NET Outline 23.1 Introduction 23.2.NET Overview NET Framework ASP (Active.
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
1 Understanding Web Services Presented By: Woodas Lai.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Building and Using Web Services with ASP.NET Rob Howard Program Manager.NET Framework Team Microsoft Corp.
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
CIM2564 Introduction to Development Frameworks 1 Overview of a Development Framework Topic 1.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
What is.NET?. The Clients of.NET a) A new generation of connected application b) Microsoft.NET Framework managed execution c) Allows PCs and other smart.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Introduction to ASP.NET What is.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Lecture Roger Sutton CO530 Automation Tools 5: Class Libraries and Assemblies 1.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Introduction to .Net Framework
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
What is.NET?.NET is a "revolutionary new platform, built on open Internet protocols and standards, with tools and services that meld computing and communications.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
Introduction to .NET Rui Ye.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Distributed Communication via ASP.Net Web Services and.Net Remoting By Richard King.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Lecture 15 Introduction to Web Services Web Service Applications.
Architecting Web Services Unit – II – PART - III.
CS795/895: Introduction. Topics Distributed Systems –Availability –Performance –Web Services Security –Authentication –Authorization –Confidentiality.
Current Trends in Network- Based Application Developments Bill Chu Department of Software and Information Systems UNC Charlotte.
Cross-Language Demo Demonstrates mixing C# and VB.NET code C# Class CSDemoClass.cs VB.NET Class VBDemoClass.vb “Main” class (C#) Demo.cs.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Microsoft.NET Norman White Stern School of Business.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
XML and Web Services (II/2546)
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Module 1: Overview of the Microsoft .NET Framework
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
Kemal Baykal Rasim Ismayilov
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
.NET Ying Chen Junwei Chen. What is Microsoft.NET. NET is a development platform Incorporated into.NET COM+ component services ASP web development framework.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
.NET Mobile Application Development XML Web Services.
Introduction to.NET Building.NET Applications Mike Taulty Developer & Platform Group Microsoft Ltd
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
Customizing.NET Security Permissions Nageswari Vallabhaneni.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
Introducing the Microsoft® .NET Framework
.NET Omid Darroudi.
WEB SERVICES.
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Security & .NET 12/1/2018.
Presentation transcript:

1.Net Framework.Net Framework.NET Architecture and Security By Prasad Sundararajan Jan. 2002

2.Net Framework.Net Framework F What is.NET? –New Microsoft Framework for the Internet Development Environment. –I t is a protocol stack and computing model for TCPI/IP-based, distributed computing. –The.NET Enterprise servers are built for interoperability from the ground up, using open Web standards such as XML with increased scalability and reliability. F Primary.NET Components –.NET Architecture –.NET Integrated Programming –Common Language Runtime (CLR) –.NET System Class Libraries –Data and XML –Web Services/ ASP+ What is Microsoft.NET? Overview

3.Net Framework.Net Framework.NET Architecture Overview Source: MSDN

4.Net Framework.Net Framework.NET Architecture Overview F.NET Framework Elements –A runtime engine, called the "Common Language Runtime" (CLR) that handles memory allocation, error trapping, and security features. –A set of extensive Framework class libraries, written from the ground up that comprise practically any functionality you could ask for. –Two top-level development "arenas" for web applications (ASP.NET) and regular Windows applications (Windows Forms).

5.Net Framework.Net Framework Common Language Runtime (CLR) F CLR Architecture –.NET applications are compiled to a common language known as Microsoft Intermediate Language, or "IL". –The CLR, then, handles compiling the IL to machine language, at which point the program is executed. –The CLR architecture provides expansive tool support, simpler deployment (end of "DLL Hell"), superior scalability, support for multiple programming languages and a common data type system

6.Net Framework.Net Framework.NET Framework Classes F System Class Library –Framework classes include user interfaces (Windows Forms (conventional Win32 apps); Web Forms (the forms engine for ASP.NET); –Server Controls (reusable user interface components dwelling server-side); –Console Applications; as well as program interfaces—Web services which third-party applications available over the Internet.

7.Net Framework.Net Framework Data and XML F ADO+ Architecture –ActiveX Data Objects+ class library (ADO+) is designed to provide data access services for scalable Web-based applications and services. –The.NET Data and XML Framework is an integrated evolution of ADO and MSXML –Language neutral data access and XML support in DataSet (in-memory data cache providing a relational view of the data) –ADO+ also provides a validation engine that uses XML Schemas to validate an XmlReader. ADO+ supports schemas defined via DTDs, XSD, or XDR.

8.Net Framework.Net Framework Web Services F.NET Web Services Toolset Built on standard web protocols –HTTP and XML Technology innovations for web services –SOAP (Simple Object Access Protocol) u Explicit serialization protocol (HTTP + XML description) used in service exchanges –SCL (SOAP Contract Language) u XML document describing the location and interfaces a particular service supports – the client's contract –DISCO (Discovery) u XML document that contains references to the SCL location for web services u Typically lives at the root of a web application A web service is programmable application logic accessible via standard Web protocols

9.Net Framework.Net Framework Web Services Model The Web services execution model involves two entities, the client and the service provider. In the Web service model, the Web service developer: Creates the.asmx file that includes the namespace, classes, properties, and methods. Declares methods as Web methods that can be accessed over the Internet. Web service model is supported by ASP.NET, a stateless service architecture.

10.Net Framework.Net Framework ASP.NET (ASP+) ASP+ is a simple, consistent, and powerful web application development paradigm for the.NET Framework –Build web pages ( mybank.com )  Traditionally browser targeted (.aspx ) –Build web services (credit card authorization)  Programmable application logic (.asmx ) u Uses: SOAP, SCL, and DISCO F Source file (text and notepad accessible) is compiled at run-time F.asmx file can either contain application logic or point to.NET assembly/class –Ability to programmatically determine what is web service accessible and –Web service itself emits no UI u Uses HTML forms to allow interaction with web service

11.Net Framework.Net Framework Simple Object Access Protocol (SOAP) F SOAP (Simple Object Access Protocol) –Serialization format for request/response semantics using XML and HTTP as transport –Data is sent via POST (or M-POST) –Extensible XML document (Envelope, Encoding Rules, RPC) –Supports complex and simple types (structs, datasets, classes) F SOAP Contract Language (SCL) –Clients need a contract to understand what the service is providing –COM used IDL (Interface Definition Language) –Web Services use SCL –Supported service transports: SOAP, HTTP-GET, HTTP-POST –Invocation Semantics: How requests are made and how responses are sent SOAP is an XML based object protocol for the exchange of information in a decentralized, distributed environment. It consists of: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined datatypes, and a convention for representing remote procedure calls and responses.

12.Net Framework.Net Framework.NET Security Framework The.NET Security Framework Architecture consists of the following five core elements. F Evidence Based Security F Code Access Security F Verification F Role Based Security F Cryptography

13.Net Framework.Net Framework Evidence Based Security The key elements of.NET Evidence Based Security consists of Policy, Permission and Evidence subsystems. F Policy –The XML inscribed policy defines what resources code in executing assemblies can access and in preventing the malicious harming of the integrity of data. F Permission –Permissions describe resources and associated rights, and implement methods for demanding and asserting access. –Developers can extend permissions definitions to include application-defined resources. Allows developers granular permission requests within assemblies. F Evidence –At runtime, the CLR determines permission requests by evaluating the assembly’s evidence. (EX: Code origin (URL,site, etc.); Crypto namespaces, Authenticode, etc.)

14.Net Framework.Net Framework ASP.NET Security The.NET Framework provides a security mechanism called Code Access Security. Code access security allows code to be trusted to varying degrees, depending on where the code originates and on other aspects of the code's identity. F Code Access Security in CLR –Every application that targets the common language runtime (CLR) must interact with the runtime's security system. –To enable code to benefit from code access security, application and component developers must use a compiler that generates verifiably type-safe code. –Security requests are evaluated by the runtime when the code is loaded into memory. –Code access security allows class libraries to specify the permissions they require in order to be accessed.

15.Net Framework.Net Framework Verification Process During JIT compilation, the CLR verifies all managed code to ensure memory type safety. F Verification –The verification process prevents the bypass of common application flow and circumvent security checks during code execution process such as accessing a private field or method from outside its class or accessing residual information in the code memory. –Buffer overflows, referring to memory containing other than defined variables or method entry points, referencing stack locations outside the allocated stack frame and transferring execution to arbitrary locations within a process. –The verification process eliminates most of common programming mistakes underlying today’s security vulnerabilities in the type-safe, managed environment provided by the.NET Framework.

16.Net Framework.Net Framework Role Based Security The.NET Framework provides a role based security mechanism to enforce business policy in applications. F Role Based Security –.NET applications can make authorization decisions based on the principal's identity or role membership, or both. –To provide ease of use and consistency with code access security,.NET Framework role-based security provides PrincipalPermission objects that enable the common language runtime to perform authorization in a way that is similar to code access security checks. –The PrincipalPermission class represents the identity or role that the principal must match and is compatible with both declarative and imperative security checks. Security requests are evaluated by the runtime when the code is loaded into memory.

17.Net Framework.Net Framework Cryptographic Services in.NET The.NET Framework provides Random Number Generation and other Cryptographic services. F Cryptographic Services –The.NET Framework security system implements an extensible pattern of derived class inheritance. From top down, the pattern is as follows: –Algorithm type, for example SymmetricAlgorithm or HashAlgorithm. This level is abstract. Algorithm, for example RC2 or SHA1. This level is abstract. –Implementation of algorithm, for example RC2CryptoServiceProvider or SHA1Managed. This level is fully implemented. –The common language runtime (CLR) uses a stream-oriented design for cryptography. –The core of.NET Cryptographic design is CryptoStream. Any cryptographic objects that implement CryptoStream can be chained together, so that the streamed output from one object can be fed into the input of another object.