Home / Questions / Other XSS से बचने की basic practice क्या है? इसका सही PHP syntax क्या है? Other 0 Views Verified XSS से बचने की basic practice क्या है? इसका सही PHP syntax क्या है? सही विकल्प चुनें और code/solution को समझें। #php #core php #php programming #php tutorial #php error #php solution #backend #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified Correct Answer Context-appropriate output escaping जैसे htmlspecialchars() उपयोग करना Context-appropriate output escaping जैसे htmlspecialchars() उपयोग करना Additional Explanation XSS prevention में context-aware output encoding महत्वपूर्ण है।
Verified हर input को md5() हर input को md5() Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified HTML escaping कभी न करना HTML escaping कभी न करना Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified हर input पर केवल trim() हर input पर केवल trim() Additional Explanation यह विकल्प सही Core PHP solution नहीं है।