Recommended sites

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits
OpenComment, AJAX and security Print E-mail
User Rating: / 1
PoorBest 
Sunday, 04 June 2006 23:41

In OpenComment, the next commenting system for Joomla based on akocomment, the following functions are NOW running with AJAX.
  • Rating comments up and down,
  • Deleting comments,
And soon, filtering operations and even publishing new comments.

But working in computer science do not also mean: ready for production....because AJAX without taking precautions can be disastrous....This code is facing some strong securities issues I will have to solve:


  • AJAX code is not running in the Joomla sessions! so I have to re implement some low level operations like accessing the database (while already done in Joomla)
  • Who protect comment against replaying rating up attack? I will introduce a public key per article which has to be submitted to the server, and a private key store in the session, which will be destruct after the first operation.
  • How to make sure that the asynchronous operation on a comment is originated from a submitted page of my server?
    -> I will introduce a server challenges keys: a cryptographic fields which is highly depending of the following: server name, URL, time, and random part. This ticket will also have a time stamp in it, if you wait more than, lets say 20 minutes, you won't be able to rate or operate on comment. This is similar with com_hashcash, so nothing really new to me.
  • Avoid that a rating up operation for a comment A get hacked by injecting new parameters for comment B?
    -> Comments will be identified by their UUID (and not a simple ID like in akocomment)
    -> Users would have to know it to make an attack on multiple joomla site at the same time.
If You see something else or know a similar code or algorithm in the open source world, contact me or post your remarks below.
Comments
Add New Search RSS
test version available
Guest (82.74.194.xxx) 2006-06-08 23:55:13

Hello, is there a test version available of opencomment?
RE: test version available
Walter Cedric (84.73.239.xxx) 2006-06-10 22:35:06

No I am still developing it, it was more or less working when I decide to put
effort in making code for Joomla 1.5, then I start adding AJAX. Expect a version
soon: I will not make any new GPL task before it is release.

I hope to
present a beta soon
Error when viewing comments
Guest (84.73.239.xxx) 2006-06-12 23:55:21

Warning: Invalid argument supplied for foreach() in
/var/www/vhosts/waltercedric.com/httpdocs/includes /frontend.php on line
85


------
Cédric Walter
I know and by Reload it disapear....
Can't wait
Mark (80.126.113.xxx) 2006-06-18 01:39:01

Man - you made me lose some stress. The only thing besides a (not-working) ako
comments I could find was jomcomments - and it costs 20 euro's. But on the forum
there's a big wishlist by some guy that made me hesitate.

Wonder what you'll
make of it - giving you all my best of luck.
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
:(:x
Please input the anti-spam code that you can read in the image.

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 


Another articles:


Content View Hits : 2418526

Enter Amount: