Search

Main

I recently found a some what new social network that seems to be on the rise. I have joined and I ask that if you are tired of Myspace and Facebook and looking for a refreshing environment join the website and invite your friends.

 

My URL on the website is trig.com/jamesduffy. Add me and let's be friends.

duffy | General | 6 September, 1:34am | Comment on this

I have been really busy lately and not had time to post. face-crying.png  

Some of the projects I am working on will shape a new generation of websites. I would love to tell you, but I don't want the competition stealing my ideas before I have time to code them.

 

Anyways.. What I can tell you about is that the stuff I am writting will two sectors of the web. One is the developer resource sites and the other client websites.  These two very differnt envirments will come together to form a web engine (or framework, depends on what you want to call it) that will shape a new generation of websites. One where they all seem as one, but together they are seperate.

 

Ineresting? I know it is. I just wish I could tell you more.

duffy | General | 4 June, 3:43pm | Comment on this

The website has split!?!? It's true, we have spawned a new website. It's name is idea-labs.com.

The reason for the split is to seperate my personal blog from my products and have a more professional website for my clients to visit. Idea-Labs is not only myself though, it is a partnership between myself and another web developer to bring new and exciting products to the internet.

The future of the internet is in our hands! If only I know where my hands were. face-smile-big.png

duffy | General | 3 May, 10:20pm | Comment on this

Application Security is an interesting topic. It is not possible to list every way an application can be attacked, but there are a few main targets for attackers. I will cover one of the most popular attacks called SQL injection.

SQL injection is when an attacker uses data submitted in either a form or URL to cause devastating results. An attacker can then insert unwanted data into a database, destroy all the data, or even copy your users personal information.

Consider the following:

mysql_query("INSERT INTO table (row) VALUES ('$_POST[user_submitted]')");
 

If the user submitted something reasonable, such as text text and more text, then the query succeeds. If yhe user submitted something like Ted's last name is Smith, PHP gets confused because of the apostrophe. The query will look like the following:

mysql_query("INSERT INTO table (row) VALUES ('Ted's last name is Smith')");
 

Because of the apostrophe the database query fails and returns an error. Now what if an attacker learned of your applications fault and submitted the following:

x'); DELETE * FROM table; INSERT INTO TABLE (row) VALUES ('y
 

When inserted into the query it looks like this:

INSERT INTO table (row) VALUES ('x'); DELETE * FROM table; INSERT INTO TABLE (row) VALUES ('y')
 

A few databases allow the use of multiple queries separated by a semicolon in a single query(). If this was to happen to you, x would be added to row, the table would be destroyed, and y is inserted into the table.

Preventing this attack will be in a upcoming post...

duffy | General | 9 April, 1:49pm | Comment on this

I now have a Digg clone available. Check it out in the programs menu now.

duffy | General | 24 February, 5:10pm | Comment on this

First off. I know I haven't posted anything of substance in a few months. Really sorry about that. I was getting caught up in personal things going on in my life. School and friends. Blame my friends, not me. (Just kinding, don't blame them.)

I have been working on a problem I have been having with the Woogi Core. It is a basic function that I haven't been able to work out how will work. So basically I have nothing and I sit around stairing at the screen thinking of ways that won't work.

Relationships suck! Peaple suck! Why does everybody have to be so damn confusing. If you mean yes say "yes." Don't give me the "If you want" or "I don't know." Same thing goes with "No." If you are ever going to talk to me please be clear. If you really don't care then you can say you don't, but otherwise say yes or no.

So that is my little rant... more to come next time.

duffy | General | 16 February, 2:02am | 1 comments

duffy | General | 20 January, 3:12pm | 2 comments

I found this post on Google's Blog. I found the actions of NORAD nice

http://googleblog.blogspot.com/2007/11/tracking-santa-then-and-now.html

duffy | General | 11 December, 12:37pm | Comment on this

So I made some brunch this morning and came up with chocolate pancakes, French fries and Oreo Milkshakes!

Me and my sister came up with the idea and it wasn't that bad. The pancakes were a little too sweet, but it was still good.

I would love to give out the recipe I used but I just made it by taste, so use that as your guide. I think I need to go exercise I feel fat after that meal.

duffy | General | 18 November, 2:34pm | Comment on this

A new website has been created! Friends of the Orchard, located at friendsoftheorchard.org.

The website has been created to protest the pending development of a wonderful orchard near where I live. Go ahead and check out the website and help us keep our community green!

duffy | General | 12 November, 4:42pm | Comment on this