My Database is behing hacked by someone again and again.
Hi Forum,
Hope you are fine....
Here's someone hacking my database whenever I run my website...and removed all the data from database. I tried changing passwords, uploading data again and again....bt that hacker is attempting continiously...
Now I am really fed up....and hoping that here's someone who can help me out as how can I save my website...
1. Ensure you are not deleting the data yourself. A badly formed Sql statement can be a dangerous thing.
2. Ensure that all data that comes in does not go directly into a sql statement without being quoted. Form data such as id=1 might come in by a malicious user as id=1;Delete * from user; - if you do not quote the id the delete will be action. Also filter out null characters from any data as well.
3. Investigate what access they is to the database and tie it down to as few users as possible.
And also
monitor activity, sql statements and run a regular job to check the existence of data so that you have a time frame to lot at the log.
I checked the log, and sequal server agent is already disabled, so there's no chance to make a job to delete data via agent.
We are using ASP.net application on sql server, I checked the data log file there are more then 1 lack hacking attempts from different IP's trying to log in to my database.
Which make me sure that there's someone, tyring to access my database directly, so If there's a way I can block there attampts to secure my data or create a maximum 3 attempts and after that server will blocked the IP/s...
Bookmarks