Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Monday, August 27, 2007

Amazing image resizing



This image resizing technique is absolutely amazing. It is actually not only a technique to resize images, but also makes it possible to make objects (or people) in a picture disappear. What it does is basically take out parts of the image which it thinks are not important. The real difficulty obviously lies in finding the right part of the image to take out.
Once again an image (this time a video) is worth more than a thousand words. Check it out. Your jaw will drop.

You can find more on the technology here: http://www.faculty.idc.ac.il/arik/

Friday, August 24, 2007

Reaction to the Facebook code leakage: Protect your site!

Nik Cubrilovic, occasional writer for Techcrunch, has published a good article concerning source code security in response to the Facebook code leakage I hope none of you missed.
Short summary:
  • Use mod_security
  • Put all of your code except index.php outside of your web root
  • Change the default file type in the Apache (or whatever you use) configuration
  • Use 'Deny all' to prevent access to folders outside the web root
For more in-depth information and guidelines how to implement these security measures check out Nik's blog.