A lightweight javascript sandbox implementation method
An implementation method and a lightweight technology, applied in the field of software security, can solve the problems of complex implementation of JavaScript programs, difficult for programmers to master and operate, and achieve the effect that the implementation method is simple and effective, easy to master, and easy to operate.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0038] Please refer to figure 1 As shown, the implementation method of the lightweight JavaScript sandbox of the present invention comprises the following steps:
[0039] S10: Define the access control inside the sandbox, specifically including the following steps:
[0040] S101: Define a function as the scope of the sandbox, encapsulate suspicious JavaScript code inside this specific function, define a set of functions that are prohibited from accessing for this sandbox, and the execution of these JavaScript functions may cause dangerous program behavior; functions that are prohibited from access...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com