473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hacking Prevention

I have been lurking here for a while and I have noticed some people
writing about problems with their sites being hacked.

As I am fairly new to this scene so I don't want to fall into
vulnerable coding styles early on or even worse have my first site used
as some type of porthole for spammers.

Can anyone recommend a good book or online resource about web site
hacking prevention. Even something along the lines of how to hack web
sites would also do the job.

Cheers,
L.

Oct 17 '05 #1
4 3365
"leke" wrote:
Can anyone recommend a good book or online resource about web site
hacking prevention. Even something along the lines of how to hack web
sites would also do the job.


A good place to start is <http://www.hudzilla.org/phpbook/read.php/17_0_0>,
which seems to cover most of the security issues in PHP.

You should also be very careful with any scripts written by third parties,
and make sure you always have the latest version running. Thousands of
websites were wiped out last year by a worm that exploited a security hole
in the phpBB bulletin board script, for example.

Google will probably give you plenty of other references for common
practices like email header injection, SQL injection, referer spam, and
protecting email addresses.

The Apache module mod_security can deal with many of these problems:
<http://www.modsecurity.org/>

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Oct 17 '05 #2
I just read "Innocent Code", and I can recommend it.

See: http://innocentcode.thathost.com/

Best regards

leke wrote:
I have been lurking here for a while and I have noticed some people
writing about problems with their sites being hacked.

As I am fairly new to this scene so I don't want to fall into
vulnerable coding styles early on or even worse have my first site used
as some type of porthole for spammers.

Can anyone recommend a good book or online resource about web site
hacking prevention. Even something along the lines of how to hack web
sites would also do the job.

Cheers,
L.

Oct 17 '05 #3

Philip Ronan wrote:

A good place to start is <http://www.hudzilla.org/phpbook/read.php/17_0_0>,
which seems to cover most of the security issues in PHP.


That's not a terribly good resource in my opinion. Everyone who calls
hiding the presence of PHP a form of security measure should look up
"security by obscurity" at Wikipedia. The section on register_globals
misses the bigger issue as well. The fundamental problem is the
reliance on global variables--a poor programming practice in general.

Oct 17 '05 #4
"Chung Leong" wrote:
Philip Ronan wrote:

A good place to start is <http://www.hudzilla.org/phpbook/read.php/17_0_0>,
which seems to cover most of the security issues in PHP.


That's not a terribly good resource in my opinion. Everyone who calls
hiding the presence of PHP a form of security measure should look up
"security by obscurity" at Wikipedia. The section on register_globals
misses the bigger issue as well. The fundamental problem is the
reliance on global variables--a poor programming practice in general.


Actually I have to agree with you there. I bookmarked the site a long time
ago, but after I posted the link here I went back and read through a few
pages. Let me know if you find a better resource.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Oct 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ChangAya | last post by:
I use binary log on mysql system. Yesterday i found some hacking attempt on my machine. ( I found some unknown queries on binary log) But i don't get any information about hacking query...
0
by: masterjuan | last post by:
Networks Hacking (hack C:/ drives, severs...)and security holes all on my website & hacking commands and I explain ways of erasing your tracks so you dont get caught doing "bad" things... What do...
0
by: dunleav1 | last post by:
Does enabling/disabling Data Execution Prevention (DEP) have a performance impact on SQL 2000 or SQL 2005?
6
by: enes naci | last post by:
i would like to know about hacking in python too whether its illegal or not is not the point and anyway it doesn't mean i'm gong to use it.
8
by: diana.ruwanika | last post by:
hey how do you hack in to computers ?
0
by: e.expelliarmus | last post by:
check this out buddies. kool website for: * hacking and anti hacking tricks * anti hackng tricks. * registry tweaks * orkut tricks * small virus * computer tricks and loads of different...
15
by: singhraghvendra | last post by:
Hi I have a function as below void print(char* str) { printf(str); } now the user of the function can pass anything as the argument for
0
by: herpes prevention | last post by:
herpes prevention generic acyclovir herpes simplex disease
14
Frinavale
by: Frinavale | last post by:
I've been trying to test my web application using Internet Explorer 8 (release candidate 1) and have been experiencing some major problems. I'm hoping you can help me with this one. I have a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.