Skip to content

Instantly share code, notes, and snippets.

@marczhermo
Created June 23, 2014 00:40
Show Gist options
  • Save marczhermo/bea5c161147d441d7642 to your computer and use it in GitHub Desktop.
Save marczhermo/bea5c161147d441d7642 to your computer and use it in GitHub Desktop.
phpMyAdmin
$cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
$cfg['Servers'][$i]['AllowDeny']['rules'][] = 'allow % from 127.0.0.1';//can be your server's ip and then tunnel
$cfg['Servers'][$i]['AllowDeny']['rules'][] = 'deny % from all';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment