SlideShare a Scribd company logo
Website Security
ASP.NET is compiled to managed code before
executing, so web pages can utilize the same
role-based features as other .NET applications.
Web.config can define built-in ASP.NET security
providers such as “Forms”, “Windows” or set
event handlers for custom providers.
Web.config is an “application” level security policy
file. Settings in higher level policy files take
precedent, so administrators of shared web
servers can breath.
Security & Managed Code
Evidence-based security means that there is no
guarantee your code has sufficient permission to
run when the user executes it!
.NET classes are free-threaded.
ASP.NET
Programming model can handle client-side events on
the server as if they happened on the server.
Design-time provides GUI configuration of controls
on the page. Microsoft provides controls that are
fast and scalable for .NET (vs. VS6).
Compiled code means 2-5 times faster execution.
Session State is now fast and scalable.
ASP.NET Change Management
• Version code just like any other .NET application!
• Debug Using Trace! (instead of Response.Write)
• Automated Unit Testing!
• Deploy Assemblies Without Source Code!
– Protect your Intellectual Property!
• Publish web applications with simple XCopy!
– Goodbye FrontPage Extensions!
• Dynamic Code Replacement - Without Rebooting!
• Concurrently Run Different Versions of Business
Objects Side-By-Side!
• Script Builds from Source Control
ASP.NET Cool Features
Output Caching is automatic, but configurable by
user, query, time or underlying data source AND at
either the page or control level.
ASP and ASP.NET can run in the same directory but
do not share state.
Use any .NET language. Use structured exception
handling as implemented in the language.
Debug from web pages down into business objects.
Writing XML Web Services
Use the WebService directive in .ASMX pages. Code behind
uses the WebMethod attribute and inherits from
System.Web.Services.WebService.
.NET will use reflection to automatically generate a WSDL and
a simple human-readable testing and documentation page.
Also, you can publish any COM+ object or .NET assembly by
registering it in COM+ and checking a box. COM+ can
use .NET remoting instead of HTTP for .NET to .NET calls.
SQL and Exchange 2000 both provide XML Web Services
access methods to their data.
Web Services
Imports System.Web.Services
<WebService(Namespace := "http://tempuri.org/")> _
Public Class Service1
Inherits System.Web.Services.WebService
<WebMethod()> Public Function HelloPerson(ByVal
YourName As String) As String
HelloPerson = "Hello, " & YourName & "."
End Function
End Class
Consuming XML Web Services
All Web Services are late-binding.
Static bindings are Web References. Use them just
like a referenced assembly. IntelliSense works!
Dynamically bind to services at run-time by using
UDDI and/or Disco.
If necessary, configure proxy server and credentials
in machine.config.
Consume .NET Web Services from any platform.
Consuming Web Services
ASP.NET Web Form
Web Services
Private Sub Button_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles Button.Click
Dim ws As New HelloService.Service1()
Results.Text &= ws.HelloPerson(strName.Text)
& "<br>"
End Sub
Touchless Desktop Deployment
DEMO
Issues
Only Windows 2000 and XP as servers.
Windows 98 or better as clients. CE support
is in beta and will be a subset.
Transparency of Source Code – MSIL is
relatively easy to reverse engineer to source
code. Obfuscators and encryption will solve
this in the future.
Security of .NET is still questioned based on
past experience with Microsoft.
.NET Myths
Myth: Passport is required for authentication in .NET. BizTalk
is required for XML Web Services. Windows CALs are
required for access to “authenticated” IIS applications.
Myth: J# is another Microsoft attempt to corrupt Java.
Myth: The Microsoft .NET Pet Store benchmark proves
ASP.NET is 15-28 times faster, requires ¼ the CPU, ¼ the
code and supports 6-8x as many users as J2EE.
Related Myth: Oracle’s latest Java Pet Store proves J2EE on
Oracle is faster than .NET
Myth: .NET is a huge mental leap for VB developers.

More Related Content

PPTX
Automatic documentation with mule
 
PPT
Windows Server 2008 for Developers - Part 1
PPT
What's New for Data?
PPTX
Creating and deploying apps in azure
PPTX
Mule integration with Servicenow
PPT
Architecting RIAs with Silverlight
PPT
ASP.NET 13 - Security
PPTX
Mvc
Automatic documentation with mule
 
Windows Server 2008 for Developers - Part 1
What's New for Data?
Creating and deploying apps in azure
Mule integration with Servicenow
Architecting RIAs with Silverlight
ASP.NET 13 - Security
Mvc

What's hot (20)

PPTX
Asp.Net Identity
PPTX
Mule
 
PPTX
Active Directory Single Sign-On with IBM
PPTX
Calling database with groovy in mule
PPTX
IBM Single Sign-On
PPTX
Building Modern Web Apps Using ASP.NET 5
PDF
How Small Can Java Microservices Be?
PDF
Microservices - not just with Java
PPTX
Selenium
PPTX
2009 - NRW Conf: (ASP).NET Membership
PDF
Composite Enterprise Application Development with the WSO2 Developer Studio
PPT
Whats New In Asp.Net Web Forms 4
PDF
Authentication in microservice systems - fsto 2017
PPTX
Mule esb
PPTX
PPSX
Asp.net mvc
PDF
Nanoservices and Microservices with Java
PPTX
AWS Atlanta meetup Build Tools - Code Commit, Code Build, Code Deploy
PPTX
Mule Security
Asp.Net Identity
Mule
 
Active Directory Single Sign-On with IBM
Calling database with groovy in mule
IBM Single Sign-On
Building Modern Web Apps Using ASP.NET 5
How Small Can Java Microservices Be?
Microservices - not just with Java
Selenium
2009 - NRW Conf: (ASP).NET Membership
Composite Enterprise Application Development with the WSO2 Developer Studio
Whats New In Asp.Net Web Forms 4
Authentication in microservice systems - fsto 2017
Mule esb
Asp.net mvc
Nanoservices and Microservices with Java
AWS Atlanta meetup Build Tools - Code Commit, Code Build, Code Deploy
Mule Security
Ad

Viewers also liked (14)

PPT
Synapseindia android apps programming with app inventor
PPTX
Synapse india sharing info on dotnet framework part2
PPT
Synapse india mobile apps part2
PPT
SynapseIndia asp.net2.0 ajax Development
PPT
Synapseindia dot net development chapter 8 asp dot net
PPT
Synapseindia dot net development about programming
PPT
Synapseindia dot net development
PPT
Synapseindia android apps intro to android development
PPT
SynapseIndia dotnet development
PPT
Synapse india mobile apps update
PPT
SynapseIndia php web development
PPT
SynapseIndia mobile apps architecture
PPT
SynapseIndia dotnet web development architecture module
PPT
Synapseindia android middleware
Synapseindia android apps programming with app inventor
Synapse india sharing info on dotnet framework part2
Synapse india mobile apps part2
SynapseIndia asp.net2.0 ajax Development
Synapseindia dot net development chapter 8 asp dot net
Synapseindia dot net development about programming
Synapseindia dot net development
Synapseindia android apps intro to android development
SynapseIndia dotnet development
Synapse india mobile apps update
SynapseIndia php web development
SynapseIndia mobile apps architecture
SynapseIndia dotnet web development architecture module
Synapseindia android middleware
Ad

Similar to SynapseIndia dotnet website security development (20)

PPT
Asp dot net long
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PDF
Asp.netrole
DOCX
Web based booking a car taxi5
PPT
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
PPT
Asp.net architecture
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PPT
Asp.net server controls
PPT
J2 Ee Vs. .Net Workshop
PPT
Visual studio.net
PPTX
Developing an aspnet web application
PPTX
Web techh
PPTX
Web tech
PPTX
Web tech
PPTX
Web tech
PPTX
PPT
PPS
Asp Architecture
PPT
Visual studio
Asp dot net long
Migrating To Visual Studio 2008 & .Net Framework 3.5
Asp.netrole
Web based booking a car taxi5
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Asp.net architecture
Migrating To Visual Studio 2008 & .Net Framework 3.5
Asp.net server controls
J2 Ee Vs. .Net Workshop
Visual studio.net
Developing an aspnet web application
Web techh
Web tech
Web tech
Web tech
Asp Architecture
Visual studio

More from Synapseindiappsdevelopment (20)

PPTX
Synapse india elance top in demand in it skills
PPT
SynapseIndia dotnet module development part 1
PPT
SynapseIndia dotnet framework library
PPT
SynapseIndia dotnet development platform overview
PPT
SynapseIndia dotnet development framework
PPT
SynapseIndia dotnet web applications development
PPT
SynapseIndia mobile build apps management
PPT
SynapseIndia mobile apps deployment framework internal architecture
PPT
SynapseIndia java and .net development
PPT
SynapseIndia dotnet development panel control
PPT
SynapseIndia dotnet development ajax client library
PPT
SynapseIndia mobile apps deployment framework architecture
PPT
SynapseIndia mobile apps
PPT
SynapseIndia dotnet client library Development
PPT
SynapseIndia creating asp controls programatically development
PPT
SynapseIndia mobile apps trends, 2013
PPT
SynapseIndia drupal presentation on drupal info
PPT
SynapseIndia drupal presentation on drupal best practices
PPT
SynapseIndia drupal presentation on drupal
PPTX
SynapseIndia dotnet debugging development process
Synapse india elance top in demand in it skills
SynapseIndia dotnet module development part 1
SynapseIndia dotnet framework library
SynapseIndia dotnet development platform overview
SynapseIndia dotnet development framework
SynapseIndia dotnet web applications development
SynapseIndia mobile build apps management
SynapseIndia mobile apps deployment framework internal architecture
SynapseIndia java and .net development
SynapseIndia dotnet development panel control
SynapseIndia dotnet development ajax client library
SynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps
SynapseIndia dotnet client library Development
SynapseIndia creating asp controls programatically development
SynapseIndia mobile apps trends, 2013
SynapseIndia drupal presentation on drupal info
SynapseIndia drupal presentation on drupal best practices
SynapseIndia drupal presentation on drupal
SynapseIndia dotnet debugging development process

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Modernizing your data center with Dell and AMD
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Monthly Chronicles - July 2025
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Modernizing your data center with Dell and AMD
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
Advanced methodologies resolving dimensionality complications for autism neur...
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Reach Out and Touch Someone: Haptics and Empathic Computing
CIFDAQ's Market Insight: SEC Turns Pro Crypto
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

SynapseIndia dotnet website security development

  • 1. Website Security ASP.NET is compiled to managed code before executing, so web pages can utilize the same role-based features as other .NET applications. Web.config can define built-in ASP.NET security providers such as “Forms”, “Windows” or set event handlers for custom providers. Web.config is an “application” level security policy file. Settings in higher level policy files take precedent, so administrators of shared web servers can breath.
  • 2. Security & Managed Code Evidence-based security means that there is no guarantee your code has sufficient permission to run when the user executes it! .NET classes are free-threaded.
  • 3. ASP.NET Programming model can handle client-side events on the server as if they happened on the server. Design-time provides GUI configuration of controls on the page. Microsoft provides controls that are fast and scalable for .NET (vs. VS6). Compiled code means 2-5 times faster execution. Session State is now fast and scalable.
  • 4. ASP.NET Change Management • Version code just like any other .NET application! • Debug Using Trace! (instead of Response.Write) • Automated Unit Testing! • Deploy Assemblies Without Source Code! – Protect your Intellectual Property! • Publish web applications with simple XCopy! – Goodbye FrontPage Extensions! • Dynamic Code Replacement - Without Rebooting! • Concurrently Run Different Versions of Business Objects Side-By-Side! • Script Builds from Source Control
  • 5. ASP.NET Cool Features Output Caching is automatic, but configurable by user, query, time or underlying data source AND at either the page or control level. ASP and ASP.NET can run in the same directory but do not share state. Use any .NET language. Use structured exception handling as implemented in the language. Debug from web pages down into business objects.
  • 6. Writing XML Web Services Use the WebService directive in .ASMX pages. Code behind uses the WebMethod attribute and inherits from System.Web.Services.WebService. .NET will use reflection to automatically generate a WSDL and a simple human-readable testing and documentation page. Also, you can publish any COM+ object or .NET assembly by registering it in COM+ and checking a box. COM+ can use .NET remoting instead of HTTP for .NET to .NET calls. SQL and Exchange 2000 both provide XML Web Services access methods to their data.
  • 7. Web Services Imports System.Web.Services <WebService(Namespace := "http://tempuri.org/")> _ Public Class Service1 Inherits System.Web.Services.WebService <WebMethod()> Public Function HelloPerson(ByVal YourName As String) As String HelloPerson = "Hello, " & YourName & "." End Function End Class
  • 8. Consuming XML Web Services All Web Services are late-binding. Static bindings are Web References. Use them just like a referenced assembly. IntelliSense works! Dynamically bind to services at run-time by using UDDI and/or Disco. If necessary, configure proxy server and credentials in machine.config. Consume .NET Web Services from any platform.
  • 11. Web Services Private Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button.Click Dim ws As New HelloService.Service1() Results.Text &= ws.HelloPerson(strName.Text) & "<br>" End Sub
  • 13. Issues Only Windows 2000 and XP as servers. Windows 98 or better as clients. CE support is in beta and will be a subset. Transparency of Source Code – MSIL is relatively easy to reverse engineer to source code. Obfuscators and encryption will solve this in the future. Security of .NET is still questioned based on past experience with Microsoft.
  • 14. .NET Myths Myth: Passport is required for authentication in .NET. BizTalk is required for XML Web Services. Windows CALs are required for access to “authenticated” IIS applications. Myth: J# is another Microsoft attempt to corrupt Java. Myth: The Microsoft .NET Pet Store benchmark proves ASP.NET is 15-28 times faster, requires ¼ the CPU, ¼ the code and supports 6-8x as many users as J2EE. Related Myth: Oracle’s latest Java Pet Store proves J2EE on Oracle is faster than .NET Myth: .NET is a huge mental leap for VB developers.

Editor's Notes

  • #7: XML is the great cross-platform data exchange technology and XML Web Services provides both data exchange and procedural calls. Microsoft can now claim much greater interoperability, but so can other vendors like EpiCentric.
  • #16: J# is actually one of two options in Microsoft’s JUMP (Java User Migration Path). It will take Java source code and let you expose it as XML Web Services and converts use of the Java base classes to .NET base classes. The other option, actually converts Java code to C#. So it isn’t about corrupting Java, but it is about getting Java developers to become Microsoft .NET developers. Microsoft’s .NET Pet Store was meant as a reference implementation for .NET, Sun’s Java Pet Store was meant as a reference implementation for J2EE. One of Sun’s claimed purposes was to use all the J2EE functionality and Sun used MVC (Model-View-Controller), neither of which lead to best performance. Oracle issued the benchmark challenge, not Sun, claiming to beat BEA and IBM by 3-4x. Microsoft hired a 3rd party to write both implementations and then tested. But MS had written in an optimized architecture for .NET and used Stored Procedures to tune performance. The results were stunning though – 15x faster response times; 28x faster response times with ASP.NET caching turned on. Microsoft supported 7.6x as many users as the Oracle benchmark. So Oracle and Sun whined and Oracle optimized a version of Pet Shop. They claimed that it now runs faster than the .NET Pet Shop, but Microsoft tested their code and didn’t get the same performance. Oracle also used different testing software and actually tuned the testing to reuse TCP connections! Bottom Line: Microsoft also asked an ISV to implement ZD Net’s Nile Benchmark application. ASP.NET was 3x faster than either EJB or JSP implementations. Conclusion: ASP.NET rocks!