Method for realizing lightweight class JavaScript sandbox
An implementation method and a lightweight technology, applied in the field of software security, can solve problems such as programmers' difficulty in mastering and operating, complex implementation of JavaScript programs, etc., and achieve the effect of simple and effective implementation method, easy to grasp, 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 objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but 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 includes the following steps:
[0039] S10: Define the access control inside the sandbox, including the following steps:
[0040] S101: Define a function as the scope of the sandbox, encapsulate the suspicious JavaScript code inside this specific function, define a set of forbidden functions for this sandbox, the execution of these JavaScript functions may cause dangerous program behavior; functions that are forbidden to access The collection is shown in the followi...
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