Microsoft
Software
Hardware
Network
Question : MySQL Security: Block all Internet IP addresse excluding those I dynamically add from a batch file
Hi there,
I have a MySQL database.
I have a batch file that will decide what Internet IP address is permitted to access our MySQL database by putting it's IP address list in the text file "AcceptedInternetIPlist.tx
t".
I need to manually permit all communications to our MySQL database from our local subnet and block all IP communications from the Internet except those I specify from a batch file.
FOR EXAMPLE:
@echo off
mysql.exe --ClearAllinternetIPexcept
ions
FOR /F "delims=" %%A in (AcceptedInternetIPlist.tx
t) do mysql.exe --AddInternetIPException %%A
mysql.exe --ApplyInternetIPException
exit
BY USING MYSQL SECURITY FEATURES:
1) I need to know how to permit all IPs communications from local subnet.
2) I need to block all IPs from the internet
3) I need to have a batch file that will add exceptions to permit connections only comming from the Internet IP addresses listed in "AcceptedInternetIPlist.tx
t".
NOTE: I need to have a working script since I know very little about MySQL. You can pretend the host, fake credentials and database name if required.
Thanks for your help,
Rene
Answer : MySQL Security: Block all Internet IP addresse excluding those I dynamically add from a batch file
There should be a button to accept the comment as an answer that answered your question. Then it will take you to a screen to award points...
Random Solutions
differences between HDD Sentinel and S.M.A.R.T. readings
regex move command in Ubuntu, how would I move the following files to a directory?
Outlook 2007 problems connecting to Exchange 2007 Server
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runningp/public_html
/members/t
est.php on line 42
IE 8 Search Provider box search button does nothing
Allow new subnet Internet Access through Cisco ASA
Make a script that sends files with FTP?
Tutorial/Help needed: Exchange 2003 to Exchange 2010 Migration
VMWare ESXi v4 CPU resource allocation question
c# linq Join (i think)