Join us at IRC!
Capitalism is an Island of wealth in a sea of poverty
Friday, May 25, 2012
Navigation
Members Online
Total Online: 33
Web Spiders: 15
Guests Online: 31
Members Online: 2

Registered Members: 70210
Newest Member: whitela
Latest Articles
View Thread

HellBound Hackers | Computer General | Increasing Security

Author

Secure comment box

stealth-
Member



Posts: 999
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 14-07-09 02:53
I set up a comment box on my site that uses php and flat file databases, since the person who hosts my site was worried about cpu usage of mysql, however I took it down because I was worried it wasnt very secure. Well, in fact, to be honest it had no security at all. I'm going to install a check to not allow posts containing <,>,[, or ], and not allow people to post more than once every 24 hours.

Is there anything else I need to do to increase security of it? Perhaps another filter or image verification system to stop spam?


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com
http://www.stealth-x.com
Author

RE: Secure comment box

theflash
Member

Posts: 9
Location:
Joined: 23.05.09
Rank:
Newbie
Posted on 14-07-09 02:58
Is Google broke?


Infamously The_Flash

Edited by theflash on 14-07-09 02:59
Author

RE: Secure comment box

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 14-07-09 03:02
theflash wrote:
Is Google broke?


Interesting question. They actually had to lay a few people off due to the effects of the (latest) economical crisis.

@OP;

Try installing an IDS. I can recommend this one: http://php-ids.org/

See sla.ckers.org for occasional updates on web app security.




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Author

RE: Secure comment box

stealth-
Member



Posts: 999
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 15-07-09 05:56
theflash wrote:
Is Google broke?


I had done a bit of googling, however when it comes to the security of my site (which had recently received a whole bunch of pen testing) I thought I would ask for a more complete opinion, especially since im not sure exactly which ways a comment box could be exploited.

spyware wrote:

Try installing an IDS. I can recommend this one: http://php-ids.org/

See sla.ckers.org for occasional updates on web app security.


Thanks, I never knew they made ids's for webapps, i'll definitely be adding that in.

MoshBat wrote:

Rather than stop posts, just remove the offending symbols.
Some of them are used in smiley faces, and could remove genuine comments.


Good point. I was aware that I would be stopping quiet a few posts, but I had forgotten how often they get used in smilies and such. thanks


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com

Edited by stealth- on 15-07-09 05:57
http://www.stealth-x.com
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.