views:

73

answers:

1

How to protect my site from being hacked?just suggest some methods that are in common?

i am using php for scripting & mysql for database and i am using CodeIgniter(php framework).

if you know some good tutorial or ebooks then provide me some link

-Abhijeet

+9  A: 

Unplug the server.

SLaks
+1 the only way really. But then, Tom Cruise could still come in through the air vent. How to protect against that?
Pekka
@Pekka: Seal the airvents, turn the server room into a hermetically sealed tomb.
FrustratedWithFormsDesigner
@FrusteratedWithFormsDesigner: Wait until Tom is inside first.
David
@Frustrated But somebody could still bribe/blackmail my employees. I'm really thinking about melting down the hard disk at this point.
Pekka
@Pekka: Bury the employees in the tomb. Be sure to dress them in fierce-looking warrior garments first. Then enchant the corpses so they will turn into server-defense zombies if Tom Cruise ever gets that far.
FrustratedWithFormsDesigner
@David ahahahahahaha!
Pekka
@Frustrated but I'd be afraid Tom Cruise could turn the Zombies around using some Scientology spell!
Pekka
@Pekka: Then nuke the server room from orbit. It's the only way to be sure.
FrustratedWithFormsDesigner
@Frustrated that may be the only option. Crap. It's so damn *expensive* to maintain a secure IT infrastructure.
Pekka
@Pekka: Totally hear ya man. Our anti-Tom Cruise defense system just keeps getting more and more expensive. They had to cut from our operational budget to hire more zombie-making wizards and buy more nukes, so that we had to start buying the crappy-tasting coffee for the coffee machine - and they cut out the hot chocolate powder completely! :(
FrustratedWithFormsDesigner
@Frustrated yeah, they always take it out on their employees. "If you can do 40 hours a week, you could just as well do 43.5, right?" But those *Wizards* - they work 20 hours *max*, and I've never seen one *not* making a six-figure salary. And nukes - you'll never see them cut corners there... *those* must be nice, legal, American-made, plutonium-based, and made this decade. But for the office coffee it's all right to buy some third-grade drivel that was probably stolen from a container ship. It's a real shame.
Pekka