SlideShare une entreprise Scribd logo
Html5-Web-Storage
Name of student: Harshad Borgave
(39015)
Guide: Prof. Mr. A .G. Deshmukh
Seminar
PES Modern College of Engineering
Department of Computer Engineering
Savitribai Phule Pune University
1) Introduction
2) Objectives
3) Problem Statement
4) Literature survey
5) Architectural Diagram
6) Algorithmic Approach
7) Expected Results
8) Conclusion / Summary
9) References
Contents :
Introduction :
WEB-STORAGE :
Web storage is also known as DOM (Document Object Model)
storage.
It is a simple client side database that allows the users to
persist data in the form of key/value pairs.
It has a fairly simple API to retrieve/write data into the local
storage. It can store up to 10MB of data per domain. Unlike
cookies, the data stored are not included with every HTTP
request.
IE7 and older versions do not support Web Storage. All the
other browsers like Chrome, Opera, Firefox, Safari and IE8+
support Web Storage.
Objectives :
 To understand the latest browser language, a
new data storage technique, called Web Storage,
To understand about web storage Application
programming interface (APIs).
To get information about types of web storage.
Problem Statement :
Web Storage is the latest browser language,
a
new data storage technique. Although web
storage has many advantages ,there strength
and
types, due to this it easy to store data for
many
years and also for one section. So for this
need to understand all about web storage
Literature Survey:
Title Author,Publications,
Year
Remark
Browser Web Storage
Vulnerability Investigation
HTML5 localStorage Object
Daniel Bogaard Information
Technology, GCCIS Rochester
Institute of Technology
Rochester, NY, USA
Other security issues with web
storage applications can be
found
Design and Implementation of
Web Browser Secure Storage
Dongil Shin
Sejong University |
sejong · Department of
Computer Science
Ph.D. (Dec -2019)
increasing the importance of
browser storage security.
Analysis of privacy and
security in HTML5 web
storage
Sarah Monisha Pulimood
The College of New
Jersey | TCNJ · Department
of Computer Sciences
PhD in Computer Science
Analysis of privacy and
security in HTML5 web
storage
Algorithmic approach:
With web storage, web applications can store
data locally within the user's browser.
Web storage is more secure, and large
amounts of data can be stored , without
affecting website performance.
Unlike cookies, the storage limit is far larger
(at least 5MB) and information is never
transferred to the server.
Web Storage types :
Web Storage comes in two flavours and both uses the
Key-value pair combination,
1. Local Storage:
The localStorage object stores the data
with no expiration date. The data will not be deleted when
the browser is closed, and will be available the next day,
week, or year.
2. Session Storage:
The sessionStorage object is equal to
the localStorage object, except that it stores the data
for only one session. The data is deleted when the
user closes the specific browser tab.
Web-storage strengths:
The ease of use for developers: It has a simple AOI to get
and set key/value pairs and can do much more.
 The amount of space provided: no less than 5 or 10 MB per
domain.
 The LocalStorage object stores data with no expiration.
 Clent- Side Access: Servers cannot directly write into web
storage.
 Data transmission: Objects are not sent automatically with
each request but must be requested.
Web Storage Weakness :
Data is stored as a simple string.
 It has default 5 MB limit; more storage can
be allowed by user if required.
 It can be disabled by the user or systems
administrator.
 Storage can be slow with complex sets of
data.
Web Storage APIs :
● setItem(Key, Value) – Adds an item to storage
● getItem(Key) - Retrives an item from storage
● removeItem(Key) – Removes an item from storage
● Clear() - Removes all items from storage
● key(n) - Returns the name of the key for the index
provided
● Length - Number of key/value pairs in the storage list
Browser Support :
The numbers in the table specify the first browser version that fully
supports Web Storage.
Conclusion :
So, now you can start using Web Storage to store user
preferences, user info, session info etc .
You can also try creating apps that can be used
completely offline and the data stored during offline can
be sent back to the server as a batch update when the
user is online again.
References :
I. Hickson, World Wide Web Consortium, "HTML5, A vocabulary and
associated APIs for HTML and XHTML, Editor’s Draft." Last modified
November 04, 2011. Accessed November 05, 2011.
http://dev.w3.org/html5/spec/Overview.html.
II. I. Hickson, World Wide Web Consortium, "Web Storage, Editor's
Draft." Last modified October 04, 2011. Accessed November 05,
2011. http://dev.w3.org/html5/webstorage/
III. Mozilla Developer Network, "DOM Storage." Last modified October
23, 2011. Accessed November 08, 2011.
https://developer.mozilla.org/en/DOM/Storage.
IV. back|track-linux.org, "Downloads : BackTrack Linux – Penetration
Testing Distribution." Accessed November 14, 2011.
http://www.backtrack-linux.org/downloads/. [8] VMware, "Using
vmrun to Control Virtual Machines." Last modified 2009. Accessed
November 14, 2011.
www.vmware.com/pdf/vix162_vmrun_command.pdf.
Web storage

Contenu connexe

Tendances

Drupal is not your Website
Drupal is not your Website Drupal is not your Website
Drupal is not your Website
Phase2
 

Tendances (20)

How Web Browsers Work
How Web Browsers WorkHow Web Browsers Work
How Web Browsers Work
 
Forms as Structured Content
Forms as Structured Content Forms as Structured Content
Forms as Structured Content
 
Best Practices for Building Sites in dotCMS
Best Practices for Building Sites in dotCMSBest Practices for Building Sites in dotCMS
Best Practices for Building Sites in dotCMS
 
Multi-content Containers in dotCMS 3.0
Multi-content Containers in dotCMS 3.0Multi-content Containers in dotCMS 3.0
Multi-content Containers in dotCMS 3.0
 
Drupal is not your Website
Drupal is not your Website Drupal is not your Website
Drupal is not your Website
 
Web development
Web developmentWeb development
Web development
 
Incremental DOM and Recent Trend of Frontend Development
Incremental DOM and Recent Trend of Frontend DevelopmentIncremental DOM and Recent Trend of Frontend Development
Incremental DOM and Recent Trend of Frontend Development
 
Data presentation with dust js technologies backing linkedin
Data presentation with dust js   technologies backing linkedinData presentation with dust js   technologies backing linkedin
Data presentation with dust js technologies backing linkedin
 
Extjs
ExtjsExtjs
Extjs
 
Ajax xml json
Ajax xml jsonAjax xml json
Ajax xml json
 
Vanjs backbone-powerpoint
Vanjs backbone-powerpointVanjs backbone-powerpoint
Vanjs backbone-powerpoint
 
MongoDB for the SQL Server
MongoDB for the SQL ServerMongoDB for the SQL Server
MongoDB for the SQL Server
 
Java script tutorial
Java script tutorialJava script tutorial
Java script tutorial
 
Front-End Development
Front-End DevelopmentFront-End Development
Front-End Development
 
Html5-Web-Storage
Html5-Web-StorageHtml5-Web-Storage
Html5-Web-Storage
 
Understanding Web Applications and Web Testing Tools - QAConf
Understanding Web Applications and Web Testing Tools - QAConfUnderstanding Web Applications and Web Testing Tools - QAConf
Understanding Web Applications and Web Testing Tools - QAConf
 
Introduction to Umbraco
Introduction to UmbracoIntroduction to Umbraco
Introduction to Umbraco
 
Skillwise Dust JS Template
Skillwise Dust JS TemplateSkillwise Dust JS Template
Skillwise Dust JS Template
 
INLS461_day14a.ppt
INLS461_day14a.pptINLS461_day14a.ppt
INLS461_day14a.ppt
 
Javascript
JavascriptJavascript
Javascript
 

Similaire à Web storage

Similaire à Web storage (20)

your browser, your storage
your browser, your storageyour browser, your storage
your browser, your storage
 
Your browser, your storage (extended version)
Your browser, your storage (extended version)Your browser, your storage (extended version)
Your browser, your storage (extended version)
 
Html5 web storage
Html5 web storageHtml5 web storage
Html5 web storage
 
WEB MODULE 5.pdf
WEB MODULE 5.pdfWEB MODULE 5.pdf
WEB MODULE 5.pdf
 
WEB Mod5@AzDOCUMENTS.in.pdf
WEB Mod5@AzDOCUMENTS.in.pdfWEB Mod5@AzDOCUMENTS.in.pdf
WEB Mod5@AzDOCUMENTS.in.pdf
 
HTML5 Local Storage
HTML5 Local StorageHTML5 Local Storage
HTML5 Local Storage
 
your browser, my storage
your browser, my storageyour browser, my storage
your browser, my storage
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docx
 
Lecture 6 Data Driven Design
Lecture 6  Data Driven DesignLecture 6  Data Driven Design
Lecture 6 Data Driven Design
 
contentDM
contentDMcontentDM
contentDM
 
File Repository on GAE
File Repository on GAEFile Repository on GAE
File Repository on GAE
 
BFC: High-Performance Distributed Big-File Cloud Storage Based On Key-Value S...
BFC: High-Performance Distributed Big-File Cloud Storage Based On Key-Value S...BFC: High-Performance Distributed Big-File Cloud Storage Based On Key-Value S...
BFC: High-Performance Distributed Big-File Cloud Storage Based On Key-Value S...
 
Html5
Html5Html5
Html5
 
Time -Travel on the Internet
Time -Travel on the InternetTime -Travel on the Internet
Time -Travel on the Internet
 
HKU Data Curation MLIM7350 Student Project: Data Curation Workshop
HKU Data Curation MLIM7350 Student Project: Data Curation WorkshopHKU Data Curation MLIM7350 Student Project: Data Curation Workshop
HKU Data Curation MLIM7350 Student Project: Data Curation Workshop
 
Advanced Web Development
Advanced Web DevelopmentAdvanced Web Development
Advanced Web Development
 
Drupal based Municipality Website Training: Pokhara, May 17-19, 2015
Drupal based Municipality Website Training: Pokhara, May 17-19, 2015Drupal based Municipality Website Training: Pokhara, May 17-19, 2015
Drupal based Municipality Website Training: Pokhara, May 17-19, 2015
 
Se training storage grid webscale technical overview
Se training   storage grid webscale technical overviewSe training   storage grid webscale technical overview
Se training storage grid webscale technical overview
 
Play framework
Play frameworkPlay framework
Play framework
 
HTML 5
HTML 5HTML 5
HTML 5
 

Dernier

School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
Kamal Acharya
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
Kamal Acharya
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
Kamal Acharya
 

Dernier (20)

School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdf
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
internship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTinternship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOT
 
An improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technologyAn improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technology
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
 
1. Henrich Triangle Safety and Fire Presentation
1. Henrich Triangle Safety and Fire Presentation1. Henrich Triangle Safety and Fire Presentation
1. Henrich Triangle Safety and Fire Presentation
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
Lect 2 - Design of slender column-2.pptx
Lect 2 - Design of slender column-2.pptxLect 2 - Design of slender column-2.pptx
Lect 2 - Design of slender column-2.pptx
 

Web storage

  • 1. Html5-Web-Storage Name of student: Harshad Borgave (39015) Guide: Prof. Mr. A .G. Deshmukh Seminar PES Modern College of Engineering Department of Computer Engineering Savitribai Phule Pune University
  • 2. 1) Introduction 2) Objectives 3) Problem Statement 4) Literature survey 5) Architectural Diagram 6) Algorithmic Approach 7) Expected Results 8) Conclusion / Summary 9) References Contents :
  • 3. Introduction : WEB-STORAGE : Web storage is also known as DOM (Document Object Model) storage. It is a simple client side database that allows the users to persist data in the form of key/value pairs. It has a fairly simple API to retrieve/write data into the local storage. It can store up to 10MB of data per domain. Unlike cookies, the data stored are not included with every HTTP request. IE7 and older versions do not support Web Storage. All the other browsers like Chrome, Opera, Firefox, Safari and IE8+ support Web Storage.
  • 4. Objectives :  To understand the latest browser language, a new data storage technique, called Web Storage, To understand about web storage Application programming interface (APIs). To get information about types of web storage.
  • 5. Problem Statement : Web Storage is the latest browser language, a new data storage technique. Although web storage has many advantages ,there strength and types, due to this it easy to store data for many years and also for one section. So for this need to understand all about web storage
  • 6. Literature Survey: Title Author,Publications, Year Remark Browser Web Storage Vulnerability Investigation HTML5 localStorage Object Daniel Bogaard Information Technology, GCCIS Rochester Institute of Technology Rochester, NY, USA Other security issues with web storage applications can be found Design and Implementation of Web Browser Secure Storage Dongil Shin Sejong University | sejong · Department of Computer Science Ph.D. (Dec -2019) increasing the importance of browser storage security. Analysis of privacy and security in HTML5 web storage Sarah Monisha Pulimood The College of New Jersey | TCNJ · Department of Computer Sciences PhD in Computer Science Analysis of privacy and security in HTML5 web storage
  • 7. Algorithmic approach: With web storage, web applications can store data locally within the user's browser. Web storage is more secure, and large amounts of data can be stored , without affecting website performance. Unlike cookies, the storage limit is far larger (at least 5MB) and information is never transferred to the server.
  • 8. Web Storage types : Web Storage comes in two flavours and both uses the Key-value pair combination, 1. Local Storage: The localStorage object stores the data with no expiration date. The data will not be deleted when the browser is closed, and will be available the next day, week, or year. 2. Session Storage: The sessionStorage object is equal to the localStorage object, except that it stores the data for only one session. The data is deleted when the user closes the specific browser tab.
  • 9. Web-storage strengths: The ease of use for developers: It has a simple AOI to get and set key/value pairs and can do much more.  The amount of space provided: no less than 5 or 10 MB per domain.  The LocalStorage object stores data with no expiration.  Clent- Side Access: Servers cannot directly write into web storage.  Data transmission: Objects are not sent automatically with each request but must be requested.
  • 10. Web Storage Weakness : Data is stored as a simple string.  It has default 5 MB limit; more storage can be allowed by user if required.  It can be disabled by the user or systems administrator.  Storage can be slow with complex sets of data.
  • 11. Web Storage APIs : ● setItem(Key, Value) – Adds an item to storage ● getItem(Key) - Retrives an item from storage ● removeItem(Key) – Removes an item from storage ● Clear() - Removes all items from storage ● key(n) - Returns the name of the key for the index provided ● Length - Number of key/value pairs in the storage list
  • 12. Browser Support : The numbers in the table specify the first browser version that fully supports Web Storage.
  • 13. Conclusion : So, now you can start using Web Storage to store user preferences, user info, session info etc . You can also try creating apps that can be used completely offline and the data stored during offline can be sent back to the server as a batch update when the user is online again.
  • 14. References : I. Hickson, World Wide Web Consortium, "HTML5, A vocabulary and associated APIs for HTML and XHTML, Editor’s Draft." Last modified November 04, 2011. Accessed November 05, 2011. http://dev.w3.org/html5/spec/Overview.html. II. I. Hickson, World Wide Web Consortium, "Web Storage, Editor's Draft." Last modified October 04, 2011. Accessed November 05, 2011. http://dev.w3.org/html5/webstorage/ III. Mozilla Developer Network, "DOM Storage." Last modified October 23, 2011. Accessed November 08, 2011. https://developer.mozilla.org/en/DOM/Storage. IV. back|track-linux.org, "Downloads : BackTrack Linux – Penetration Testing Distribution." Accessed November 14, 2011. http://www.backtrack-linux.org/downloads/. [8] VMware, "Using vmrun to Control Virtual Machines." Last modified 2009. Accessed November 14, 2011. www.vmware.com/pdf/vix162_vmrun_command.pdf.