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

Compare Array Of Words To A Textarea Input With Javascript

I have a textarea inside a form. Before the form is submitted, the textarea is validated and checke… Read more Compare Array Of Words To A Textarea Input With Javascript

How Can I Validate/secure/authenticate A Javascript-based Post Request?

A product I'm helping to develop will basically work like this: A Web publisher creates a new … Read more How Can I Validate/secure/authenticate A Javascript-based Post Request?

Jsrsasign - How To Extract An X.509 Certificate's Fingerprint?

Is it possible to use jsrsasign to extract the fingerprint of an x.509 certficate, similar to what … Read more Jsrsasign - How To Extract An X.509 Certificate's Fingerprint?

How To Save Unauthorised Manipulation In A Javascript

I wrote a server-client app in javascript/HTML5 its supposed to allow clients to communicate/play a… Read more How To Save Unauthorised Manipulation In A Javascript

Which Is More Secure - Iframe Or Cors - For Creating A Widget Intended For Embedding On 3rd Party Sites?

When building a widget that is designed to be embedded on 3rd party websites, there appear to be tw… Read more Which Is More Secure - Iframe Or Cors - For Creating A Widget Intended For Embedding On 3rd Party Sites?

Having A Public Api But Only Allowing Access To Requests Sent From My Website

I have been searching on Google and SO for hours now but without finding the someone with the same … Read more Having A Public Api But Only Allowing Access To Requests Sent From My Website

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

How To Encrypt Data In Javascript And Decrypt In Php?

Is there any javascript function that can encrypt data: For example i want to use encrypted data in… Read more How To Encrypt Data In Javascript And Decrypt In Php?

Securing Websockets

Right now our application is designed to facilitate all communication via websockets after the init… Read more Securing Websockets

How To Secure Security_access_key In React Js Application?

I don't want to directly import security_access_key in my application due to security reason. I… Read more How To Secure Security_access_key In React Js Application?

In General, In Javascript, Isn't Using Innerhtml An [in]security Issue?

with the DOM and cool new tools such as reactjs, should innerHTML ever be used in a javascript prog… Read more In General, In Javascript, Isn't Using Innerhtml An [in]security Issue?

Does Ajax Increase Or Decrease Security?

I am creating a website which until now is pure PHP. I was thinking that since very few people do … Read more Does Ajax Increase Or Decrease Security?

How To Safely Run User-supplied Javascript Code Inside The Browser?

Imagine a scenario where I want to continuously invoke user-supplied Javascript code, like in the f… Read more How To Safely Run User-supplied Javascript Code Inside The Browser?

Sanitize All Scripts From Html String

The HTML5 clipboard is awesome, but I am looking for a way to make it safe. The user is pasting tex… Read more Sanitize All Scripts From Html String

Why Is It Dangerous To Render User-generated Html Or Javascript?

I don't know if this is really dangerous, but, as Google does it with its HTML and Javascript s… Read more Why Is It Dangerous To Render User-generated Html Or Javascript?

Secure Data In Javascript

I have to create generator for web tests (using HTML and JavaScript). Test has to work offline and… Read more Secure Data In Javascript

How Can I Mitigate Injection/exfiltration Attacks From Dynamic Property Accesses (i.e. Square Bracket Notation) In Javascript?

After setting up eslint-plugin-security, I went on to attempt to address nearly 400 uses of square … Read more How Can I Mitigate Injection/exfiltration Attacks From Dynamic Property Accesses (i.e. Square Bracket Notation) In Javascript?

How To Restrict User To Open A Existing Php Page?

I am working on a problem where i want to restrict a user to open a PHP page This is my javascript-… Read more How To Restrict User To Open A Existing Php Page?

In Modern Browsers, Is There Any Security Limitation For Javascript Bookmarklets?

I read an article about bookmarklets which says that bookmarklets are so powerful they can be dange… Read more In Modern Browsers, Is There Any Security Limitation For Javascript Bookmarklets?

Is Javascript Validation Enough To Keep My Forms Secure?

I am building a website and I have a questions with forms on login/registration page. I have a few … Read more Is Javascript Validation Enough To Keep My Forms Secure?