Jump to content

Recommended Posts

  • Premium

You check your queries to view what operations they do.

Usually its just "Select, Insert, Update".

 

But again, insert should only be in account.account and not the whole account.* for example.


Same for other types, they should only access the exact table they need to, not the whole thing.

  • Love 1
Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120759
Share on other sites

If your site has a static IP address, I recommend that you indicate this to your account mysql, for example, [email protected] (it can do in Navicat). Also for more security, you must completely block the port mysql from the outside, and allow access to it only from the necessary ip addresses.

  • Love 1
Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120765
Share on other sites

Yeah i thought about that adding the IP of my website but is there any kind of a log to see the ip which is connecting? well i have setup a firewall for more protection and i have no account at navicat without IP recognition but i just face the website to be unsecure still yet 

Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120766
Share on other sites

didn't understand what the log do you mean? if someone connects through your site, you will only see the IP of your site on the database server, because the request will be from him.

If you have a vulnerable site on sql inject then this will not help you. You should secure your site as much as possible, properly screen variables, and it’s best to use PDO.

And if you do what I said above, it will give good protection.

Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120767
Share on other sites

  • Premium
On 11/4/2019 at 7:40 AM, easyx said:

Hey thanks for the answer and can configure that on Navicat to only insert in account/acccount or is this website based?

You can easilly do that on navicat for exemple, if you need help i can show you how

  • Love 1
Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120794
Share on other sites

vor 1 Stunde schrieb tierrilopes:

You can easilly do that on navicat for exemple, if you need help i can show you how

Thanks for the answer actually i tried to look what the privilieges mean at the user table and found something like a mysql guide but couldnt see quite  through that so if you could explain me them that would be awesome

Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120798
Share on other sites

  • Premium
On 11/5/2019 at 4:13 PM, easyx said:

Thanks for the answer actually i tried to look what the privilieges mean at the user table and found something like a mysql guide but couldnt see quite  through that so if you could explain me them that would be awesome

Sent discord

Link to comment
https://metin2.dev/topic/22192-mysql-security/#findComment-120818
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.