Jump to content

PHP Forum Security Issues


kool_samule

Recommended Posts

Hi Chaps,

 

I'm about to start building a MySQL/PHP forum but would like to know what are the best administration steps to take.

 

Basically it'll be open to members of a site to share info (as like many forums out there), but obviously I don't want anybody to post either harmful content or offensive material.

 

Can someone point me in the right direction, or give me a basic outline of what I have to look out for?

 

Many thanks

Link to comment
Share on other sites

Are you talking about coding a forum from scratch, or installing vbulletin/php/mybb? Please specify - on here and sitepoint eh? :P

 

If it's the latter, security pretty much takes care of itself, and where it doesn't there are usually user submitted modifications that take care of it for you.

 

However for the former, you have a lot of work ahead of yourself. Due to the fact that you're entire project is based around user submitted content (user registration, login/logout, POSTS/THREADS, editting profile w/ avatar/other info) everything has to be filtered extremely well, implementation of bbcode, spam filters, using recaptcha, your own personal offensive language filter is nice. You'll have to be careful to work on filtering SQL Injection/XSS attacks extremely well, be aware of how to properly secure $_POST/$_GET AND $_COOKIE.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.