Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MySql
 Locking a table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Webbo
Average Member

United Kingdom
982 Posts

Posted - 25 April 2015 :  16:59:32  Show Profile  Visit Webbo's Homepage  Reply with Quote
Is it possible in phpMyAdmin to lock a table in a MySQL database so that no more data can be added to it?

And if so how would I do it?

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 25 April 2015 :  18:42:36  Show Profile  Reply with Quote
See this post: StackOverflow and this one: MySQL

Edited by - Carefree on 25 April 2015 18:46:18
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 29 April 2015 :  17:01:57  Show Profile  Visit Webbo's Homepage  Reply with Quote
Thanks Carefree but having looked into it further I can't lock the table as it needs to be written to when using the software that uses that database.
I've made a few changes to the software which hopefully will prevent it from being hacked into again (not Snitz by the way), time will tell
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 29 April 2015 :  17:13:16  Show Profile  Reply with Quote
Put a condition on writing to that particular table if it's especially important. Maybe a second password requirement or special ID of some sort.
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 29 April 2015 :  18:03:52  Show Profile  Visit Webbo's Homepage  Reply with Quote
I've renamed the file extensions for the files that are linked to the admin side so that it's not possible to add additional administrators which would then prevent someone manually altering settings, etc.
However I'm not sure exactly how a hacker gained access to do so in the first place (adserving software)
All I know is that some of the changes would have had to have been done manually, plus two additional admin accounts had been set up to do so.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07