Username:
Password:
Remember me:
Register

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)


Search forums via Google


0 Users appreciate this thread.

How to stop your site from being Hacked.
Started by (Capt.)Orb
(2012-12-02 21:55:31)
(Capt.)Orb (2012-12-02 21:55:31)
Hey Guys
Here's a guide to stop your site getting hacked!

1:Use a strong password with letters,caps ,numbers and other characters[Don't make it something like imcool]


2:Keep your password to yourself

3:Use mysql_real_escape_string when inserting to DB


4:Here's a trick Ferb taught me,make the field "Id" null in your table

5: Don't edit your site through public wifi

6:Make sure your host is https://


I'll add more soon!
Say if I forgot something!

This post has been edited one or more times, the last time was:
2012-12-02 21:57:07

Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
(Capt.)Orb (2012-12-03 17:02:02)
Yup.
Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
klubadmin (2012-12-04 00:05:16)
What darkstar said.
socialcu.be
3dsklub.cf

Like what I said? +respect
>Official Trinate Spriter<
(Capt.)Orb (2012-12-04 20:37:06)
I don't know,Ferb said it makes it harder to hack.
Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
klubadmin (2012-12-04 23:29:02)
@xconorbx True, it's hard to hack a NULL column (next to impossible, really, but there's always exceptions), but it's unnecessary as the primary key (ID) should be auto-increment and therefore nothing should ever be inserted to it, making it equally unhackable.
socialcu.be
3dsklub.cf

Like what I said? +respect
>Official Trinate Spriter<
NINTENDO64 (2012-12-21 03:10:08)
This is very good!
"If today were the last day of my life, would I want to do what I am about to do today?"
-Steve Jobs

DBS
(Capt.)Orb (2012-12-21 15:50:37)
Thanks.
Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
NINTENDO64 (2013-01-08 23:05:37)
[Sticky request]
"If today were the last day of my life, would I want to do what I am about to do today?"
-Steve Jobs

DBS
klubadmin (2013-01-10 00:11:40)
@nintendo64 1,2, and 5 are fairly obvious and 4 is unnecessary for reasons stated above. So 6 and 3 are really all the new information here (thus not really a need for sticky).
socialcu.be
3dsklub.cf

Like what I said? +respect
>Official Trinate Spriter<
(Capt.)Orb (2013-01-12 14:10:13)
Yeah,I only made this for N00bs...
Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
 

Log in to submit a comment

This topic's ID: 37698

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved