SlideShare a Scribd company logo
NAME: RIZWAN ULLA SHAH
ID: 5987
INTRODUCTION OF AJAX & SECURITY
• WHAT ?
• HOW ?
• WHO ?
• WHY ?
• SECURITY ?
THE HISTORY OF AJAX
• HTTP HAS SOME LIMITATIONS.
• MICROSOFT’S REMOTE SCRIPTING XML AND XSLT
• IE SPECIFIC WE NEED MORE FLEXIBLE SKILLS
• MICROSOFT FIRST IMPLEMENTED THE XML HTTP
REQUEST OBJECT IN INTERNET EXPLORER 5 FOR
WINDOWS AS AN ACTIVEX OBJECT.
• ENGINEERS ON THE MOZILLA PROJECT IMPLEMENTED A
COMPATIBLE NATIVE VERSION FOR MOZILLA 1.0 (AND
NETSCAPE 7).
• APPLE HAS DONE THE SAME STARTING WITH SAFARI 1.2.
COUNT..
APR 1, 2004 APRIL FOOL’S DAY
GOOGLE E-MAIL SERVICES
1GB STORAGE INCREDIBLE USER INTERFACES
AJAX: A NEW APPROACH TO WEB APPLICATIONS FEB 18, 2005 JESSE
JAMES GARRETT , ADAPTIVE PATH
DEFINING AJAX
• STANDARDS-BASED PRESENTATION USING
XHTML AND CSS DYNAMIC DISPLAY AND
INTERACTION USING THE DOCUMENT
OBJECT MODEL DATA INTERCHANGE AND
MANIPULATION USING XML AND XSLT
ASYNCHRONOUS DATA RETRIEVAL USING
XMLHTTPREQUEST AND JAVASCRIPT
BINDING EVERYTHING TOGETHER.
( WHAT ) ?
• AJAX: ASYNCHRONOUS JAVASCRIPT AND XML
• AJAX USES A XML TO SEND AND RECEIVE ASYNCHRONOUS
REQUESTS/RESPONSES AND THEN LEVERAGES PRESENTATION
TECHNOLOGIES ( JAVASCRIPT , DOM, HTML, AND CSS) TO PROCESS
THE RESPONSE.
• MOST BROWSERS SUPPORT THE NECESSARY TECHNOLOGY FOR
AJAX.
• AJAX ENABLES YOU EXECUTE A SERVER-SIDE METHOD THROUGH
A JAVASCRIPT CALL, WITHOUT REQUIRING A BROWSER REFRESH.
HOW (HOW TO USE AJAX ) ?
• MODIFY WEB.CONFIG
• REGISTER THE WEB PAGE
• USE <AJAX.AJAXMETHOD()> ATTRIBUTE
• WRITE JAVASCRIPT TO HANDLE THE
RESPONSE.
HOW (HOW TO USE AJAX ) ?
DO NOT JUST TELL ME,
SHOW ME A DEMO!
WHO (WHO USE AJAX)?
• WINDOWS LIVE MAIL ( HTTP://WWW.HOTMAIL.COM )
• GOOGLE
GOOGLE MAIL ( HTTP://WWW.MAIL.GOOGLE.COM )
GOOGLE MAPS ( HTTP://WWW.MAPS.GOOGLE.COM )
GOOGLE SUGGESTS (
HTTP://WWW.GOOGLE.COM/WEBHP?COMPLETE=1&HL=EN )
• YAHOO! FLICKR ( HTTP://WWW.FLICKR.COM )
• MEEBO ( HTTP://WWW.MEEBO.COM )
• FACEBOOK ( HTTP://WWW.FACEBOOK.COM )
………WHO’S NEXT (YOU???)
WHY ( WHY TO USE AJAX ) ?
• FASTER WEB ACTIONS
• LESS (OR NO) PAGE REFRESHES
• REDUCE NETWORK TRAFFIC
• DECREASED SERVER-SIDE BANDWIDTH USAGE
• WEB APPS THAT RIVAL (OR SURPASS) INSTALLED
GUI APPS
WHY ( WHY NOT TO USE AJAX ) ?
• BYE BYE, BOOKMARKS!
• SEARCH ENGINES MAY NOT BE ABLE TO INDEX
ALL PAGES.
• INACCURATE BACK & FORWARD BUTTON
ACTIONS.
• JAVASCRIPT CAN BE EASILY DISABLED FROM
CLIENT SIDE.
SECURITY AT SERVER SIDE
• AJAX-BASED WEB APPLICATIONS USE THE SAME SERVER-SIDE
SECURITY SCHEMES OF REGULAR WEB APPLICATIONS.
• YOU SPECIFY AUTHENTICATION, AUTHORIZATION, AND DATA
PROTECTION REQUIREMENTS IN YOUR WEB.XML FILE (DECLARATIVE)
OR IN YOUR PROGRAM (PROGRAMMATIC).
• AJAX-BASED WEB APPLICATIONS ARE SUBJECT TO THE SAME
SECURITY THREATS AS REGULAR WEB APPLICATIONS.
ATTACKS
• SEE WHAT HE/SHE SEARCHED FOR
• READ EMAILS
• STEAL CREDIT CARD DETAILS THROUGH PAYPAL
SECURITY AT CLIENT SIDE
• HACKER CAN USE JAVASCRIPT CODE FOR INFERRING SERVER-SIDE
WEAKNESSES.
• JAVASCRIPT CODE IS DOWNLOADED FROM THE SERVER AND
EXECUTED AT THE CLIENT AND CAN COMPROMISE THE CLIENT BY
MAL-INTENDED CODE.
USEFUL TOOLS & DEFENSE
• NOSCRIPT – ACCEPT SCRIPTS ONLY FROM SITES YOU TRUST
• ALTCOOKIES – ACCEPT COOKIES ONLY FROM SITES YOU TRUST
• FIREBUG – DIG DEEPLY INTO HTML/JAVASCRIPT/CSS AND HTTP
Ajax presentation

More Related Content

What's hot

Iconus 2016
Iconus 2016Iconus 2016
Iconus 2016
Mark Roden
 
10 Must-Use Components for Your Mobile Apps, James Clancey
10 Must-Use Components for Your Mobile Apps, James Clancey10 Must-Use Components for Your Mobile Apps, James Clancey
10 Must-Use Components for Your Mobile Apps, James Clancey
Xamarin
 
Ember and SharePoint
Ember and SharePointEmber and SharePoint
Ember and SharePoint
Greg Hurlman
 
SPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePointSPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePoint
Greg Hurlman
 
Azure Websites
Azure WebsitesAzure Websites
Azure Websites
Senthamil Selvan
 
Digital Publishing Made Easy with the OSCI Toolkit
 Digital Publishing Made Easy with the OSCI Toolkit Digital Publishing Made Easy with the OSCI Toolkit
Digital Publishing Made Easy with the OSCI Toolkit
Kyle Jaebker
 
Cvcc performance tuning
Cvcc performance tuningCvcc performance tuning
Cvcc performance tuning
John McCaffrey
 
IcingaCamp Stockholm - Icinga Web2
IcingaCamp Stockholm - Icinga Web2IcingaCamp Stockholm - Icinga Web2
IcingaCamp Stockholm - Icinga Web2
Icinga
 
Porting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows AzurePorting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows Azure
Gunnar Peipman
 
RubyConf Taiwan 2016 - Large scale Rails applications
RubyConf Taiwan 2016 - Large scale Rails applicationsRubyConf Taiwan 2016 - Large scale Rails applications
RubyConf Taiwan 2016 - Large scale Rails applications
Florian Dutey
 
Icinga Camp Amsterdam - Icinga Director
Icinga Camp Amsterdam - Icinga DirectorIcinga Camp Amsterdam - Icinga Director
Icinga Camp Amsterdam - Icinga Director
Icinga
 
Icinga Camp Belgrade - Icinga Web 2
Icinga Camp Belgrade - Icinga Web 2Icinga Camp Belgrade - Icinga Web 2
Icinga Camp Belgrade - Icinga Web 2
Icinga
 
Saluki - do it like a user
Saluki - do it like a userSaluki - do it like a user
Saluki - do it like a user
Icinga
 
Migration from ASP.NET MVC to ASP.NET Core
Migration from ASP.NET MVC to ASP.NET CoreMigration from ASP.NET MVC to ASP.NET Core
Migration from ASP.NET MVC to ASP.NET Core
Miroslav Popovic
 
Icinga Camp San Diego 2016 - Icinga Director
Icinga Camp San Diego 2016 - Icinga DirectorIcinga Camp San Diego 2016 - Icinga Director
Icinga Camp San Diego 2016 - Icinga Director
Icinga
 
Async streams
Async streamsAsync streams
Async streams
Christian Nagel
 
Building solutions with the SharePoint Framework - introduction
Building solutions with the SharePoint Framework - introductionBuilding solutions with the SharePoint Framework - introduction
Building solutions with the SharePoint Framework - introduction
Waldek Mastykarz
 
C# 8 and .NET Core 3
C# 8 and .NET Core 3C# 8 and .NET Core 3
C# 8 and .NET Core 3
Christian Nagel
 
RubyConf China 2015 - Rails off assets pipeline
RubyConf China 2015 - Rails off assets pipelineRubyConf China 2015 - Rails off assets pipeline
RubyConf China 2015 - Rails off assets pipeline
Florian Dutey
 
Collaborative communication
Collaborative communicationCollaborative communication
Collaborative communication
Icinga
 

What's hot (20)

Iconus 2016
Iconus 2016Iconus 2016
Iconus 2016
 
10 Must-Use Components for Your Mobile Apps, James Clancey
10 Must-Use Components for Your Mobile Apps, James Clancey10 Must-Use Components for Your Mobile Apps, James Clancey
10 Must-Use Components for Your Mobile Apps, James Clancey
 
Ember and SharePoint
Ember and SharePointEmber and SharePoint
Ember and SharePoint
 
SPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePointSPSNJ 2014: EmberJS & SharePoint
SPSNJ 2014: EmberJS & SharePoint
 
Azure Websites
Azure WebsitesAzure Websites
Azure Websites
 
Digital Publishing Made Easy with the OSCI Toolkit
 Digital Publishing Made Easy with the OSCI Toolkit Digital Publishing Made Easy with the OSCI Toolkit
Digital Publishing Made Easy with the OSCI Toolkit
 
Cvcc performance tuning
Cvcc performance tuningCvcc performance tuning
Cvcc performance tuning
 
IcingaCamp Stockholm - Icinga Web2
IcingaCamp Stockholm - Icinga Web2IcingaCamp Stockholm - Icinga Web2
IcingaCamp Stockholm - Icinga Web2
 
Porting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows AzurePorting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows Azure
 
RubyConf Taiwan 2016 - Large scale Rails applications
RubyConf Taiwan 2016 - Large scale Rails applicationsRubyConf Taiwan 2016 - Large scale Rails applications
RubyConf Taiwan 2016 - Large scale Rails applications
 
Icinga Camp Amsterdam - Icinga Director
Icinga Camp Amsterdam - Icinga DirectorIcinga Camp Amsterdam - Icinga Director
Icinga Camp Amsterdam - Icinga Director
 
Icinga Camp Belgrade - Icinga Web 2
Icinga Camp Belgrade - Icinga Web 2Icinga Camp Belgrade - Icinga Web 2
Icinga Camp Belgrade - Icinga Web 2
 
Saluki - do it like a user
Saluki - do it like a userSaluki - do it like a user
Saluki - do it like a user
 
Migration from ASP.NET MVC to ASP.NET Core
Migration from ASP.NET MVC to ASP.NET CoreMigration from ASP.NET MVC to ASP.NET Core
Migration from ASP.NET MVC to ASP.NET Core
 
Icinga Camp San Diego 2016 - Icinga Director
Icinga Camp San Diego 2016 - Icinga DirectorIcinga Camp San Diego 2016 - Icinga Director
Icinga Camp San Diego 2016 - Icinga Director
 
Async streams
Async streamsAsync streams
Async streams
 
Building solutions with the SharePoint Framework - introduction
Building solutions with the SharePoint Framework - introductionBuilding solutions with the SharePoint Framework - introduction
Building solutions with the SharePoint Framework - introduction
 
C# 8 and .NET Core 3
C# 8 and .NET Core 3C# 8 and .NET Core 3
C# 8 and .NET Core 3
 
RubyConf China 2015 - Rails off assets pipeline
RubyConf China 2015 - Rails off assets pipelineRubyConf China 2015 - Rails off assets pipeline
RubyConf China 2015 - Rails off assets pipeline
 
Collaborative communication
Collaborative communicationCollaborative communication
Collaborative communication
 

Similar to Ajax presentation

AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD Module
Charlie Perrins
 
Ajax introduction
Ajax introductionAjax introduction
Ajax introduction
sjmittal
 
VFP & Ajax
VFP & AjaxVFP & Ajax
VFP & Ajax
Mike Feltman
 
Demystifying HTML5
Demystifying HTML5Demystifying HTML5
Demystifying HTML5
Sergejus Barinovas
 
Ajax basics
Ajax basicsAjax basics
Ajax basics
Vel004
 
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax Presenation
Rishabh Garg
 
Single Page Applications: Your Browser is the OS!
Single Page Applications: Your Browser is the OS!Single Page Applications: Your Browser is the OS!
Single Page Applications: Your Browser is the OS!
Jeremy Likness
 
Be faster then rabbits
Be faster then rabbitsBe faster then rabbits
Be faster then rabbits
Vladislav Bauer
 
Going Mobile with HTML5
Going Mobile with HTML5Going Mobile with HTML5
Going Mobile with HTML5
John Reiser
 
Asynchronous javascript and xml
Asynchronous javascript and xmlAsynchronous javascript and xml
Asynchronous javascript and xml
Bui Kiet
 
End to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) EuropeEnd to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) Europe
Alexandre Morgaut
 
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- ZagrebAPEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
Michael Hichwa
 
Top 10 HTML5 Features for Oracle Cloud Developers
Top 10 HTML5 Features for Oracle Cloud DevelopersTop 10 HTML5 Features for Oracle Cloud Developers
Top 10 HTML5 Features for Oracle Cloud Developers
Brian Huff
 
Building SharePoint Single Page Applications Using AngularJS
Building SharePoint Single Page Applications Using AngularJSBuilding SharePoint Single Page Applications Using AngularJS
Building SharePoint Single Page Applications Using AngularJS
SharePointInstitute
 
ITI006En-AJAX
ITI006En-AJAXITI006En-AJAX
ITI006En-AJAX
Huibert Aalbers
 
HTML5のご紹介
HTML5のご紹介HTML5のご紹介
HTML5のご紹介
yoshikawa_t
 
下一代Web前端技术 陈子舜
下一代Web前端技术 陈子舜下一代Web前端技术 陈子舜
下一代Web前端技术 陈子舜
正炎 高
 
ClubAJAX Basics - Server Communication
ClubAJAX Basics - Server CommunicationClubAJAX Basics - Server Communication
ClubAJAX Basics - Server Communication
Mike Wilcox
 
JSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfacesJSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfaces
Strannik_2013
 
Hack angular wildly
Hack angular wildlyHack angular wildly
Hack angular wildly
Todd Warren
 

Similar to Ajax presentation (20)

AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD Module
 
Ajax introduction
Ajax introductionAjax introduction
Ajax introduction
 
VFP & Ajax
VFP & AjaxVFP & Ajax
VFP & Ajax
 
Demystifying HTML5
Demystifying HTML5Demystifying HTML5
Demystifying HTML5
 
Ajax basics
Ajax basicsAjax basics
Ajax basics
 
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax Presenation
 
Single Page Applications: Your Browser is the OS!
Single Page Applications: Your Browser is the OS!Single Page Applications: Your Browser is the OS!
Single Page Applications: Your Browser is the OS!
 
Be faster then rabbits
Be faster then rabbitsBe faster then rabbits
Be faster then rabbits
 
Going Mobile with HTML5
Going Mobile with HTML5Going Mobile with HTML5
Going Mobile with HTML5
 
Asynchronous javascript and xml
Asynchronous javascript and xmlAsynchronous javascript and xml
Asynchronous javascript and xml
 
End to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) EuropeEnd to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) Europe
 
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- ZagrebAPEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
 
Top 10 HTML5 Features for Oracle Cloud Developers
Top 10 HTML5 Features for Oracle Cloud DevelopersTop 10 HTML5 Features for Oracle Cloud Developers
Top 10 HTML5 Features for Oracle Cloud Developers
 
Building SharePoint Single Page Applications Using AngularJS
Building SharePoint Single Page Applications Using AngularJSBuilding SharePoint Single Page Applications Using AngularJS
Building SharePoint Single Page Applications Using AngularJS
 
ITI006En-AJAX
ITI006En-AJAXITI006En-AJAX
ITI006En-AJAX
 
HTML5のご紹介
HTML5のご紹介HTML5のご紹介
HTML5のご紹介
 
下一代Web前端技术 陈子舜
下一代Web前端技术 陈子舜下一代Web前端技术 陈子舜
下一代Web前端技术 陈子舜
 
ClubAJAX Basics - Server Communication
ClubAJAX Basics - Server CommunicationClubAJAX Basics - Server Communication
ClubAJAX Basics - Server Communication
 
JSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfacesJSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfaces
 
Hack angular wildly
Hack angular wildlyHack angular wildly
Hack angular wildly
 

Recently uploaded

Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
spdendr
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 

Ajax presentation

  • 1. NAME: RIZWAN ULLA SHAH ID: 5987 INTRODUCTION OF AJAX & SECURITY
  • 2. • WHAT ? • HOW ? • WHO ? • WHY ? • SECURITY ?
  • 3. THE HISTORY OF AJAX • HTTP HAS SOME LIMITATIONS. • MICROSOFT’S REMOTE SCRIPTING XML AND XSLT • IE SPECIFIC WE NEED MORE FLEXIBLE SKILLS • MICROSOFT FIRST IMPLEMENTED THE XML HTTP REQUEST OBJECT IN INTERNET EXPLORER 5 FOR WINDOWS AS AN ACTIVEX OBJECT. • ENGINEERS ON THE MOZILLA PROJECT IMPLEMENTED A COMPATIBLE NATIVE VERSION FOR MOZILLA 1.0 (AND NETSCAPE 7). • APPLE HAS DONE THE SAME STARTING WITH SAFARI 1.2.
  • 4. COUNT.. APR 1, 2004 APRIL FOOL’S DAY GOOGLE E-MAIL SERVICES 1GB STORAGE INCREDIBLE USER INTERFACES AJAX: A NEW APPROACH TO WEB APPLICATIONS FEB 18, 2005 JESSE JAMES GARRETT , ADAPTIVE PATH
  • 5. DEFINING AJAX • STANDARDS-BASED PRESENTATION USING XHTML AND CSS DYNAMIC DISPLAY AND INTERACTION USING THE DOCUMENT OBJECT MODEL DATA INTERCHANGE AND MANIPULATION USING XML AND XSLT ASYNCHRONOUS DATA RETRIEVAL USING XMLHTTPREQUEST AND JAVASCRIPT BINDING EVERYTHING TOGETHER.
  • 6. ( WHAT ) ? • AJAX: ASYNCHRONOUS JAVASCRIPT AND XML • AJAX USES A XML TO SEND AND RECEIVE ASYNCHRONOUS REQUESTS/RESPONSES AND THEN LEVERAGES PRESENTATION TECHNOLOGIES ( JAVASCRIPT , DOM, HTML, AND CSS) TO PROCESS THE RESPONSE. • MOST BROWSERS SUPPORT THE NECESSARY TECHNOLOGY FOR AJAX. • AJAX ENABLES YOU EXECUTE A SERVER-SIDE METHOD THROUGH A JAVASCRIPT CALL, WITHOUT REQUIRING A BROWSER REFRESH.
  • 7. HOW (HOW TO USE AJAX ) ? • MODIFY WEB.CONFIG • REGISTER THE WEB PAGE • USE <AJAX.AJAXMETHOD()> ATTRIBUTE • WRITE JAVASCRIPT TO HANDLE THE RESPONSE.
  • 8. HOW (HOW TO USE AJAX ) ? DO NOT JUST TELL ME, SHOW ME A DEMO!
  • 9. WHO (WHO USE AJAX)? • WINDOWS LIVE MAIL ( HTTP://WWW.HOTMAIL.COM ) • GOOGLE GOOGLE MAIL ( HTTP://WWW.MAIL.GOOGLE.COM ) GOOGLE MAPS ( HTTP://WWW.MAPS.GOOGLE.COM ) GOOGLE SUGGESTS ( HTTP://WWW.GOOGLE.COM/WEBHP?COMPLETE=1&HL=EN ) • YAHOO! FLICKR ( HTTP://WWW.FLICKR.COM ) • MEEBO ( HTTP://WWW.MEEBO.COM ) • FACEBOOK ( HTTP://WWW.FACEBOOK.COM ) ………WHO’S NEXT (YOU???)
  • 10.
  • 11. WHY ( WHY TO USE AJAX ) ? • FASTER WEB ACTIONS • LESS (OR NO) PAGE REFRESHES • REDUCE NETWORK TRAFFIC • DECREASED SERVER-SIDE BANDWIDTH USAGE • WEB APPS THAT RIVAL (OR SURPASS) INSTALLED GUI APPS
  • 12. WHY ( WHY NOT TO USE AJAX ) ? • BYE BYE, BOOKMARKS! • SEARCH ENGINES MAY NOT BE ABLE TO INDEX ALL PAGES. • INACCURATE BACK & FORWARD BUTTON ACTIONS. • JAVASCRIPT CAN BE EASILY DISABLED FROM CLIENT SIDE.
  • 13. SECURITY AT SERVER SIDE • AJAX-BASED WEB APPLICATIONS USE THE SAME SERVER-SIDE SECURITY SCHEMES OF REGULAR WEB APPLICATIONS. • YOU SPECIFY AUTHENTICATION, AUTHORIZATION, AND DATA PROTECTION REQUIREMENTS IN YOUR WEB.XML FILE (DECLARATIVE) OR IN YOUR PROGRAM (PROGRAMMATIC). • AJAX-BASED WEB APPLICATIONS ARE SUBJECT TO THE SAME SECURITY THREATS AS REGULAR WEB APPLICATIONS. ATTACKS • SEE WHAT HE/SHE SEARCHED FOR • READ EMAILS • STEAL CREDIT CARD DETAILS THROUGH PAYPAL
  • 14. SECURITY AT CLIENT SIDE • HACKER CAN USE JAVASCRIPT CODE FOR INFERRING SERVER-SIDE WEAKNESSES. • JAVASCRIPT CODE IS DOWNLOADED FROM THE SERVER AND EXECUTED AT THE CLIENT AND CAN COMPROMISE THE CLIENT BY MAL-INTENDED CODE. USEFUL TOOLS & DEFENSE • NOSCRIPT – ACCEPT SCRIPTS ONLY FROM SITES YOU TRUST • ALTCOOKIES – ACCEPT COOKIES ONLY FROM SITES YOU TRUST • FIREBUG – DIG DEEPLY INTO HTML/JAVASCRIPT/CSS AND HTTP