Skip to content Skip to sidebar Skip to footer
Showing posts with the label Security

Node Js, How To Extract X.509 Certificate From P12 File?

I have p12 file, where I should get X.509 Certificate. In order to work with this file I use forge … Read more Node Js, How To Extract X.509 Certificate From P12 File?

Check The Content Of File Before Upload

I have to check the Content of a zip/rar file before uploading to the server. Let me explain the sc… Read more Check The Content Of File Before Upload

What Exactly Can An Iframe Do With The Top.location Object (cross-domain)?

There is a very particular edge case in cross-domain policies regarding the window.top.Location obj… Read more What Exactly Can An Iframe Do With The Top.location Object (cross-domain)?

How Can I Clean And Sanitize A Url Submitted By A User For Redisplay In Java?

I want a user to be able to submit a url, and then display that url to other users as a link. If I … Read more How Can I Clean And Sanitize A Url Submitted By A User For Redisplay In Java?

Frame Onkeydown Feedback

I'm trying to do a PoC for a Cross Frame Scripting attack (https://www.owasp.org/index.php/Cros… Read more Frame Onkeydown Feedback

Can I Protect Native Javascript Functions

Is there any way to prevent a user from overriding a native function? Example: var getRand; (functi… Read more Can I Protect Native Javascript Functions

Html5 Offline Authentication

I am looking for advice/criticism on how best to control access to an HTML5 application that is use… Read more Html5 Offline Authentication

Why Do Browsers Allow Onmousedown Js To Change Href?

I've noticed for a very long time that when you try to copy a link location or open a link on F… Read more Why Do Browsers Allow Onmousedown Js To Change Href?