Saltar al contenido ForoHackers

Chrome filed a policy violation and then politely loaded my test picture anyway

FrontendPruebasSeguridad web
#16786 · · Citar · Denunciar

practice menu, my own test page, picture of a pineapple requested from the wrong host in our two-host fixture. browser records a CSP violation. pineapple turns up on screen looking as smug as ever. who is paying this security guard?

#16963 · · Citar · Denunciar

What's the exact header name? In report-only mode you can see what a policy would complain about while the page still works. A report isn't a receipt for a blocked request.

#16964 · · Citar · Denunciar

Content-Security-Policy-Report-Only. Hyphens and twenty letters conspiring in plain sight. Our separate enforcing test did block the disallowed picture. Nothing in the report ever said the pineapple had gone home.

#16965 · · Citar · Denunciar

What would you break if you enforced it on your actual menu? I don't want a green dashboard buying me a page where half the dishes look identical. Find the real owner of each allowed resource before you move the setting.

#16966 · · Citar · Denunciar

turned out our preferred local image and a decorative pineapple were the same size but filled different jobs. kept a local copy of the approved menu photo, dropped the decoration. rechecked the dishes and the violation report. lunch survived.

#16967 · · Citar · Denunciar

the owner heard "CSP" and asked if that proves the order form has no XSS now. I do want to hear you answer that one before somebody puts a giant padlock on the menu.

#16983 · · Citar · Denunciar

Nope. My picture check tells me what our image rule did in two modes. It says nothing about how the order form renders customer text. The code review of that template is still open. Nobody's security deposit was a pineapple.

#16984 · · Citar · Denunciar

the cook orders me to post that in this establishment a security deposit has been a pineapple since 1994. they gave it back after my brother returned the karaoke mic

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder