Product Design, Manufacturing & Innovation Resources
घर » ऑनलाइन उपकरण » एसवीजी सैनिटाइजर

एसवीजी सैनिटाइजर

SVG फॉर्मेट में लगभग किसी भी प्रकार का कोड, यहां तक ​​कि निष्पादन योग्य कोड भी एम्बेड किया जा सकता है।
So unless you designed it yourself, to verity it before uploading somewhere is a करना ही होगा.
यह निःशुल्क ऑनलाइन टूल केवल इसी पर केंद्रित है, न कि इसके बहुमुखी उपयोग पर। एसवीजी ऑप्टिमाइज़र जिसे हम 2डी सेक्शन में भी अनुशंसित और सूचीबद्ध करते हैं।

विषय: वेब डेवलपमेंट, साइबर सुरक्षा, ग्राफिक डिजाइन।
Free alternative to DOMPurify, Scour.
SVG Sanitizer compared with DOMPurify and Scour
एसवीजी सैनिटाइजरDOMPurifyScour
तकनीकी आधार: The page is a playground for the PHP library svg-sanitize by the GitHub user darylldoyle (the library that powers the Safe SVG WordPress plugin). You paste an SVG and the library filters tags and attributes against a whitelist. The library states that its code is largely borrowed from DOMPurify.तकनीकी आधार: It is a DOM-only XSS sanitizer for HTML, MathML and SVG. It parses the input into a DOM and filters elements and attributes against allow lists. It is the reference design that the PHP library follows.तकनीकी आधार: It is not a security filter. It rewrites SVG to reduce size by removing metadata, comments and redundant data, so a malicious SVG can pass through it unless it is cleaned by another tool.
इनपुट और आउटपुट: You paste SVG markup or load a built-in sample, choose a library version (50 versions are listed) and options, then read a diff, the cleaned output, a preview and a list of issues. The version selector helps to check whether an older release let a given file through.इनपुट और आउटपुट: It takes an HTML or SVG string, or a DOM node, and returns a clean string or DOM. Output options include whole document, DOM fragment and Trusted Types. Configuration covers allowed tags, forbidden attributes, URI patterns and hooks.इनपुट और आउटपुट: It reads an SVG file and writes an optimized SVG, or a compressed .svgz when the output file has that extension. Options control ID shortening, comment removal and indentation.
लाइसेंस और खुलापन: The playground links to the library repository and issue tracker. The library is released under GPL-2.0, which matters if you plan to embed it in a non-GPL product.लाइसेंस और खुलापन: Dual-licensed under Apache-2.0 and MPL-2.0, so it can be embedded in most commercial code bases.लाइसेंस और खुलापन: Open source under Apache License 2.0.
प्लेटफ़ॉर्म और एकीकरण: Browser page for manual checks. For automation, the underlying library installs with Composer as enshrined/svg-sanitize and runs on the server in PHP. It also has a command line scanner script that returns errors as JSON.प्लेटफ़ॉर्म और एकीकरण: JavaScript library for browsers, and for Node.js together with a DOM implementation such as jsdom. The maintainers do not recommend happy-dom as safe.प्लेटफ़ॉर्म और एकीकरण: Python command line tool installed with pip. The latest release listed on PyPI is 0.38.2, dated November 2020.
वैधता सीमाएँ: The author describes the library as an attempt at a decent SVG sanitizer and states that more extensive testing is still needed. The playground invites users to report any SVG that gets through. Remote references are only removed if that option is switched on.वैधता सीमाएँ: Only the latest release receives security support. Results depend on the DOM implementation in use and on the configuration chosen by the integrator.वैधता सीमाएँ: Not designed to detect or block scripts, so it must not be the only protection when handling files from unknown sources.
इसे कब चुनें: Choose it to check an uploaded SVG by hand, or to test how the PHP library treats a suspicious file before relying on it in a PHP or WordPress project.इसे कब चुनें: Choose it when untrusted markup is handled in a JavaScript application, in the browser or on a Node.js server.इसे कब चुनें: Choose it to shrink trusted SVG files in a build step, after the content has been vetted with a sanitizer.

शामिल विषय: SVG, सैनिटाइजर, निष्पादन योग्य कोड, सुरक्षा, सत्यापन, ऑनलाइन टूल, SVG ऑप्टिमाइज़र, 2D ग्राफिक्स, एम्बेडिंग, कोड सत्यापन, मैलवेयर रोकथाम, उपयोगकर्ता सुरक्षा, ISO/IEC 27001, ISO 9001, ISO/IEC 27002, ISO/IEC 27005 और W3C SVG।

गोपनीयता: हमें इस टूल और इसके लेखक से संबंधित किसी संभावित समस्या की कोई जानकारी नहीं मिली है। लेकिन कई ऑनलाइन सेवाओं की तरह, आप यहां अपना डेटा प्रदान कर रहे हैं। आपके डेटा की संवेदनशीलता को देखते हुए, लेखक की प्रतिष्ठा और संभावित दुरुपयोग का आकलन करना और उनके नियमों और शर्तों को जांचना और स्वीकार करना या अस्वीकार करना आपकी जिम्मेदारी है।

अधिक 2D ग्राफ़िक्स, नेटवर्क और वेब tools

अपना सर्वश्रेष्ठ ऑनलाइन टूल सुझाएं:

क्या आप ऊपर दी गई वेबसाइट से बेहतर, पूरक या प्रतिस्थापन वेबसाइट जानते हैं?

> यहां सुझाव दें <

नवीनतम परिवर्धन

शीर्ष पोस्ट और लेख

शीर्ष मूल उपकरण

10वां वर्ष सालगिरह

पंजीकृत सदस्यों के लिए पूर्ण आकार की छवियाँ और डाउनलोड 100% निःशुल्क उपलब्ध हैं।