{"title":"基于javascript的HTML5 Web存储加密对增强隐私的性能影响","authors":"Michael S. MacFadden, Meikang Qiu","doi":"10.1109/SmartCloud55982.2022.00037","DOIUrl":null,"url":null,"abstract":"The HTML5 Web Storage API provides the ability for web applications to store data on client machines. This storage is commonly used for caching, local state tracking, and offline support that allows web applications to work when the web server cannot be contacted. The HTML5 Web Storage is becoming increasingly popular with the majority of new web applications using at least some features provided by this standard. Unfortunately, the local storage provided by HTML5 Web Storage is not entirely secure and does not sufficiently ensure the confidentiality of the user’s data. Encrypting data prior to storage is a common approach to protecting local user data. However, as browser-based applications become more complex and demanding the impact of data encryption may adversely impact application performance. Furthermore, the average web developer is generally not proficient in cryptographic best practices in web applications. First, we provide a simple design approach for encryption of local storage that supports offline web applications. Second, we analyze the impact of various symmetric encryption algorithms and implementations on the performance of the HTML Web Storage API. We show that there are several viable options that will increase the confidentiality and privacy of user data within local storage without imposing significant performance penalties.","PeriodicalId":104366,"journal":{"name":"2022 IEEE 7th International Conference on Smart Cloud (SmartCloud)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Performance Impacts of JavaScript-Based Encryption of HTML5 Web Storage for Enhanced Privacy\",\"authors\":\"Michael S. MacFadden, Meikang Qiu\",\"doi\":\"10.1109/SmartCloud55982.2022.00037\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The HTML5 Web Storage API provides the ability for web applications to store data on client machines. This storage is commonly used for caching, local state tracking, and offline support that allows web applications to work when the web server cannot be contacted. The HTML5 Web Storage is becoming increasingly popular with the majority of new web applications using at least some features provided by this standard. Unfortunately, the local storage provided by HTML5 Web Storage is not entirely secure and does not sufficiently ensure the confidentiality of the user’s data. Encrypting data prior to storage is a common approach to protecting local user data. However, as browser-based applications become more complex and demanding the impact of data encryption may adversely impact application performance. Furthermore, the average web developer is generally not proficient in cryptographic best practices in web applications. First, we provide a simple design approach for encryption of local storage that supports offline web applications. Second, we analyze the impact of various symmetric encryption algorithms and implementations on the performance of the HTML Web Storage API. We show that there are several viable options that will increase the confidentiality and privacy of user data within local storage without imposing significant performance penalties.\",\"PeriodicalId\":104366,\"journal\":{\"name\":\"2022 IEEE 7th International Conference on Smart Cloud (SmartCloud)\",\"volume\":\"21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE 7th International Conference on Smart Cloud (SmartCloud)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SmartCloud55982.2022.00037\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 7th International Conference on Smart Cloud (SmartCloud)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SmartCloud55982.2022.00037","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
HTML5 Web Storage API为Web应用程序提供了在客户机上存储数据的能力。这种存储通常用于缓存、本地状态跟踪和离线支持,允许web应用程序在无法联系web服务器时工作。HTML5 Web Storage正变得越来越流行,因为大多数新的Web应用程序至少使用了这个标准提供的一些特性。不幸的是,HTML5 Web storage提供的本地存储并不完全安全,不能充分保证用户数据的机密性。在存储之前对数据进行加密是保护本地用户数据的常用方法。然而,随着基于浏览器的应用程序变得越来越复杂和苛刻,数据加密的影响可能会对应用程序的性能产生不利影响。此外,一般的web开发人员通常并不精通web应用程序中的加密最佳实践。首先,我们为支持离线web应用程序的本地存储加密提供了一种简单的设计方法。其次,我们分析了各种对称加密算法和实现对HTML Web存储API性能的影响。我们展示了几个可行的选项,可以在不造成显著性能损失的情况下增加本地存储中用户数据的机密性和隐私性。
Performance Impacts of JavaScript-Based Encryption of HTML5 Web Storage for Enhanced Privacy
The HTML5 Web Storage API provides the ability for web applications to store data on client machines. This storage is commonly used for caching, local state tracking, and offline support that allows web applications to work when the web server cannot be contacted. The HTML5 Web Storage is becoming increasingly popular with the majority of new web applications using at least some features provided by this standard. Unfortunately, the local storage provided by HTML5 Web Storage is not entirely secure and does not sufficiently ensure the confidentiality of the user’s data. Encrypting data prior to storage is a common approach to protecting local user data. However, as browser-based applications become more complex and demanding the impact of data encryption may adversely impact application performance. Furthermore, the average web developer is generally not proficient in cryptographic best practices in web applications. First, we provide a simple design approach for encryption of local storage that supports offline web applications. Second, we analyze the impact of various symmetric encryption algorithms and implementations on the performance of the HTML Web Storage API. We show that there are several viable options that will increase the confidentiality and privacy of user data within local storage without imposing significant performance penalties.