Click to See Complete Forum and Search --> : MS SQL Server 2000


cancer10
05-15-2008, 06:52 AM
Hi

I have a ms sql 2000 db on my shared server. My site is getting hacked almost every alternate day. There are more then 500 asp pages and Its not possible for me to open every page and secure the user input.

Currently the hacker has appended some js script tag in all over my tables (I have more then 150 tables in the db). I do not have a backup at the moment so the only thing I can do is replace that js tag with NULL values.

Now Question:

1) Is there any function/query/stored procedure in MS SQL Server 2000 which would replace a value with another through out all the tables in my db?

2) Is there any script that I can use to keep a backup of my db? Currently my host charges $10 for one time backup. So I cant really afford to pay them that money everyday.

3) Also what do you suggest about avoiding my sites from being hacked.


Thanx

yamaharuss
05-15-2008, 05:52 PM
Wow, you're asking a lot. You must start by securing all your ASP pages using injection-blocking. If that is how you're getting hacked then until you fix it nothing will ever be secure and you'd be wasting your time cleaning up the data now..

If someone is physically accessing the database on the server then I would change hosts, which you may want to consider anyway since they are not offering reasonable backups (which is something I certainly do for my clients).