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

Show Html User Input, Security Issue

On my website, users will be able to input html tags for the content so the text can be bold, itali… Read more Show Html User Input, Security Issue

Prevent Hidden Input From Being Altered

This has been stressing me out.. I have a hidden input: I'm populating the hidden input with … Read more Prevent Hidden Input From Being Altered

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?

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 Are Cross Origin Workers Blocked And Why Is The Workaround Ok?

Recently I worked on a library that supports using workers for some heavy lifting. I found out that… Read more Why Are Cross Origin Workers Blocked And Why Is The Workaround Ok?

Personal Web Site Hacked On Ovh.com, Code Added In Html

My friend has a web site on ovh.com.Since a couple of days, the site is flagged as dangerous by goo… Read more Personal Web Site Hacked On Ovh.com, Code Added In Html

Writing Xss Filter For (x)html Based On White List

I need to implement a simple and efficient XSS Filter in C++ for CppCMS. I can't use existing h… Read more Writing Xss Filter For (x)html Based On White List

Ssl Login In Iframe

My UI prototype requires me to show the sites login info all the time. Either I should show the usu… Read more Ssl Login In Iframe

Iframes And Same-origin-policy And Reverse Proxy Hack

I have been reading up on Iframes with different domains then the parent document and I am slightly… Read more Iframes And Same-origin-policy And Reverse Proxy Hack

Is It Possible To Read Local Variables Of Parent Stackframes?

Scenario: I am working on Javascript code that allows running arbitrary user-supplied code in a web… Read more Is It Possible To Read Local Variables Of Parent Stackframes?

Prevent Others From Calling Your Json Web Service

Let's say I have some code that creates an HTML page with a JSON service call. How can I preven… Read more Prevent Others From Calling Your Json Web Service

Data Filtering, Sanitation, And Validation For Html-allowed Inputs

I've found a lot of info on sanitizing, filtering, and validating forms when it comes to simple… Read more Data Filtering, Sanitation, And Validation For Html-allowed Inputs

Get Security Error When Saving Canvas Object Into An Image

Well not exactly. If I just draw (ex lines,rect...) and try to export the canvas as an image. It wo… Read more Get Security Error When Saving Canvas Object Into An Image

What Are Security Concerns Around Use Of Canvas.todataurl?

What security threads would canvas.toDataURL generate in general? What measures we have to take to … Read more What Are Security Concerns Around Use Of Canvas.todataurl?

How To Change Clients' Site Dynamically?

So, going from the discussion here where I was soundly rebuked and for good reason. I want to give … Read more How To Change Clients' Site Dynamically?

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?

PHP Security - Combining Functionality Of Strip_tags(); & Htmlspecialchars();

I want my forum users to be able to insert links and other allowed tags. For example I would like t… Read more PHP Security - Combining Functionality Of Strip_tags(); & Htmlspecialchars();

How To Securely Pass Data From Php Forms To Html

I have a login system which is an html form and I need to send the username and password back to th… Read more How To Securely Pass Data From Php Forms To Html