我想隱藏所有的細節(表結構,數據庫設計等)。我該怎麼做,我在Google搜索並獲得了一些信息。如何隱藏mysql中的信息架構
從這一點,我已經改變的config.inc.php內容:
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Servers'][$i]['hide_db'] = 'information_schema';
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
?>
但儘管如此,當我去
http://localhost/phpmyadmin/index.php?db=mysql&token=df40bf81f38ce55621e179517c212d62
我可以看到所有的信息。
對此的任何解決方案?
+1謝謝,我設置密碼,以根 – FirmView 2013-02-10 01:19:15
感謝,還,添加的.htaccess! – Whippet 2013-02-10 01:22:13