2005年12月アーカイブ
ログイン関係のIP制限方法
FTP、SSH、Telnetなどのログインする処理でのIP制限をしたい場合は
/etcにあるhosts.allowとhosts.denyを使う。
使い方は
hosts.denyで「ALL:ALL」としてまず全ユーザを拒否。
それからhosts.allowで許可するIPが「123.456.789.123」の場合
「ALL:123.456.789.123」とする
FTPは全ユーザいいけどSSHは「123.456.789.123」のみの場合
sshd:123.456.789.123
vsftpd:ALL
とする。
記述ルールは
サービス名:制限するIP
admin/categories.phpを変更。
where p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and p.products_id = p2c.products_id and ( pd.products_name like '%" . $HTTP_GET_VARS['search'] . "%' or p.products_model like '%" . $HTTP_GET_VARS['search'] . "%' ) order by pd.products_name");
Mail relay testing