Earlier today a question was asked regarding input validation strategies in web apps .
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Sunday, June 10, 2012
Do htmlspecialchars and mysql_real_escape_string keep my PHP code safe from injection?
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
Access to restricted URI denied code: 1012
Sunday, March 11, 2012
How do you configure HttpOnly cookies in tomcat / java webapps?
After reading Jeff's blog post on Protecting Your Cookies: HttpOnly . I'd like to implement HttpOnly cookies in my web application.
Friday, January 13, 2012
php, ajax authentication on external domain
Suppose I have domain-a.com (A) and domain-b.com (B)
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