Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Closed Thread
Protect against sql injection attacks
Old 12-30-2008, 06:12 AM Protect against sql injection attacks
Novice Talker

Posts: 4
Name: Tom
Trades: 0
How can I found out if our website got hacked with the silent sql injection attack?
Tomson is offline
View Public Profile
 
 
Register now for full access!
Old 01-02-2009, 01:41 PM Re: Protect against sql injection attacks
Extreme Talker

Posts: 189
Trades: 1
Try this:
https://addons.mozilla.org/en-US/firefox/addon/3899

But probably the best way is to use good practice when you code your site. For example, if you always query your db through your own method/function, then you can just place all the injection prevention in that one place.
__________________

Please login or register to view this content. Registration is FREE
yellow1912 is offline
View Public Profile Visit yellow1912's homepage!
 
Old 01-03-2009, 07:08 AM Re: Protect against sql injection attacks
stoot98's Avatar
Ultra Talker

Posts: 427
Name: Stuart
Location: Glasgow, Scotland
Trades: 0
hmmm... interesting advice... :P
stoot98 is offline
View Public Profile
 
Old 01-04-2009, 12:36 PM Re: Protect against sql injection attacks
The-Pixel's Avatar
I <3 Pixel's

Posts: 888
Name: Lindi Wheaton
Location: In Photoshop
Trades: 0
Hello,

I'm not sure why using a Mozilla add-on would help but, okay. You will need to go back and look at the server logs and see exactly what was going on on the server. Some hosting providers will allow logs to be shown depending. If they will not let you have access to them; I would simply ask for there assistance. Meaning discribe what exactly happen so they can go back in the logs easiler and pin-point the issue. Most places do daily backups of there servers so they can transfer your data off the backup server and it should be good as news. However, it would be nice to know how and if your website was silent MySQL injection attack. If you where running alot of databases and using PHP then its very possible this happened. If you where running an XHMTL / CSS website with JavaScript and some PHP I find it very hard to believe that it was MySQL injected then. I hope I was helpful - best of luck.
__________________
The-Pixel

Please login or register to view this content. Registration is FREE
:: iPhone Apps, Pre-Made Templates, Widgets, Menus, etc.

Please login or register to view this content. Registration is FREE
:: Web Design / Development, Business Cards, Logo Designs, etc.
The-Pixel is offline
View Public Profile Visit The-Pixel's homepage!
 
Old 01-12-2009, 10:15 AM Re: Protect against sql injection attacks
Experienced Talker

Posts: 31
Name: Matt
Location: Veldhoven, Netherlands
Trades: 0
hard to tell if it's already been done - but the best way to prevent it is to quickly go over your code (database calls) and check that dangerous characters are either being removed or converted. Also - use querystrings as little as possible.
mattblack is offline
View Public Profile
 
Old 01-12-2009, 10:20 AM Re: Protect against sql injection attacks
Experienced Talker

Posts: 31
Name: Matt
Location: Veldhoven, Netherlands
Trades: 0
PS: i found a table in my database that shouldn't be there. I looked at the table's creation date/time, then searched my web server log files for the table's name around that time/date. I found then which page and malicious query string had created the table. Also the IP etc which has now been blocked
mattblack is offline
View Public Profile
 
Closed Thread     « Reply to Protect against sql injection attacks
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25225 seconds with 12 queries