Misc Links
Forum Archive
News Archive
File DB
 

Ads
 

Advertisement
Age of Valor - Ultima Online Free Shard
AoS/SE/ML/Custom - advanced code, dedicated staff, peerless bosses, non overpowered customs + much much more
 

Latest Forum Topics
New PC
Posted by Wren
on Apr 27 2012, 2:58:46 pm

PSA: Ensure your forum email address is valid
Posted by MikeDB
on Apr 09 2012, 8:43:16 am

Recipe's
Posted by MikeDB
on Feb 28 2012, 12:54:29 am

My PC is now ancient
Posted by rovingcowboy
on Feb 27 2012, 8:29:26 am

Hey all
Posted by rovingcowboy
on Feb 27 2012, 8:35:12 am

 

Creating your own content management system with php
Better control of site content and access
By Red Squirrel


First, before I start, just to let you know that the example we will be working with can be downloaded here (self extractor), and you can view an actual working version of it here.

There are various CMS systems available out there, such as phpnuke, IPB portal, VB portal and so on. Sure they are great, but they have a few problems.

1) Not original
It's not really original to just slap a script on, make a few changes and boom, you have your very own site...that someone else coded. It's always more fun to put some work into your site and get a unique result out of fully custom code.

2) They have security flaws
Allot of these portals are known to have security flaws. PHP Nuke for example has quite a few, and so does vB Portal, and while I never heard of any for IPB portal, I'm sure it has some too.

3) Most likely to have known security flaws
Having security flaws is one thing, and not as dangerous as having known security flaws. Basically, anything can have a security flaw. Heck maybe this article system has one that enables people to give it GET queries to execute code on the server (I highly doubt, don't bother trying) but it's not as dangerous as a known flaw in say, PHP Nuke. Because these systems are used by many people, and available to download by anyone, security flaws are more known, and can easily be found and targeted.

By making your own CMS system, you will minimize the chances of having security flaws (it will most likely be less complex, as it will be made simply for your very own needs), you will minimize the chances of script kiddies finding flaws, and you will make your site much more original. Script kiddies won't really be able to know how the back end of the site operates, because it's completely your own code, so if there are security flaws they will be nearly impossible to find without putting a bunch of noticeable stuff in your logs that will enable you to catch attempts at trying various things, before they have a chance to find a way in (most likely).

Another good security-related reason to make your own CMS is that you be much more familiar with it's code structure, because you made it.

In this article we'll go through the process of creating a very simple content management system. It will feature the following:

- Certain pages only viewable by registered members
- User can log in and out
- Ease of template editing - header, footer will separate from actual pages

While this will be a very simple CMS, it will give you an idea how you can make one, and add on more features from there, such as different permissions per user, email registration validation etc...

On the next page we'll take a look at the process of loading a CMS page from this basic system.





Next Page
spacer
20495 Hits Pages: [1] [2] [3] [4] 1 Comments
spacer


Latest comments (newest first)
Posted by Andy on October 10th 2004 (08:52)
LOL I was about to say. WOW this guest is smart. Why can't i find someone like that at my site. laugh.gif
spacer
View all comments
Post comment

RPGBids Your MMO MMORPG Auction Super Site

Top Articles Latest Articles
- What are .bin files for? (50039 reads)
- Text searching in linux with grep (33550 reads)
- SPFDisk (Special Fdisk) Partition Manager (20930 reads)
- Creating your own content management system with php (20495 reads)
- Ultima Online Newbie Guide (19222 reads)
- How to Use MDADM Linux Raid (16136 reads)
- What is Cloud Computing? (15773 reads)
- Dynamic Forum Signatures (version 2) (16140 reads)
- Successfully Hacking your iPhone or iTouch (17299 reads)
- Ultima Online Newbie Guide (19222 reads)
corner image

This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2012 Ryan Auclair/IceTeks, All rights reserved