Showing posts with label xss. Show all posts
Showing posts with label xss. Show all posts

Sunday, May 27, 2012

What"s the best method for sanitizing user input with PHP?


Is there a catchall function somewhere that works well for sanitizing user input for sql injection and XSS attacks, while still allowing certain types of html tags?

Sunday, April 8, 2012

Friday, January 13, 2012

Wednesday, January 11, 2012

Send custom message from iframe guest to iframe host where host HTML from portlet


I'm trying to send a custom message from an iframe guest to an iframe host using jQuery (We are developing both guest and host). The guest and host are on the same domain but on different ports. Also, the iframe host is being rendered from a portlet within a Liferay portal instance (5.2.3) and the portal mangles the host URL of the portlet. The host and guest URLs look like:

One jQuery Instance, Two Domains


I have two pages: a.example.com and b.example.com