Method 1 - modify apache conf or .htaccess order allow,deny deny from all 로그인 후 복사 Method 2 - Store them in a file outside web root. e.g: include('../private/db.php')로그인 후 복사 Better approach is Method 1 + 2 :)