All posts tagged ‘Web Apps’

File Under: Visual Design, Web Apps

Test Your Site at Any Size With ResizeMyBrowser

When building a website, it’s critical to test your page against multiple resolutions to make sure everything displays properly on different screens. It’s especially important to test against all the mobile browsers out there, now that the mobile web is exploding and the tablet/netbook web is gathering steam.

ResizeMyBrowser, created by a developer named Chen Luo, is a super-simple web app that snaps your browser’s width and height to a selected resolution.

There are some common resolutions to choose from, including both portrait and landscape views for the iPad, iPhone (older models and and iPhone 4), and Nexus One. You can also set your own custom presets that the app will remember the next time you visit.

It uses the resizeTo JavaScript event, which means it won’t work in Google Chrome (a bug) or in Opera (not supported). But it works in all other desktop browsers.

File Under: Programming, Security

XSS Vulnerabilities, Raw SQL Top List of Common Programming Errors

bobbytablesNo programmer is perfect, but some mistakes are more dangerous than others. While some mistakes might just slow down your site, others can open up vulnerabilities that expose your code, your database and even your users to all manner of attack.

To help you identify the more serious errors common in programs of all types, a group of top software security experts in the US and Europe have released their Top 25 Most Dangerous Programming Errors.

Unsurprisingly, cross-site scripting vulnerabilities and improperly handled SQL top the list of common and dangerous mistakes. Remember kids, sanitize your database inputs; you just never know when someone is going to name their child: “Robert’) DROP TABLE Students;”

While not all the errors in the list are common in web programming, some of the more serious things are concerns for web developers — cross-site request forgeries, missing encryption of sensitive data and unrestricted file uploads are all common web programming issues.

Also interesting is the weaknesses by language section, which breaks down common mistakes in PHP, Java, Perl and C/C++. No doubt web developers would like to have seen Python and Ruby in that list, but it should at least be useful for PHP and Perl programmers.

See Also: