How to secure named.conf To avoid Symlynk?

TARIMEHR

Verified User
Joined
Nov 19, 2012
Messages
22
Location
ایالت متحده مازندران
Hi
I want to secure named.conf file
For example, when a hacker Symlynk by shell,Gives error "CANT READ named.conf

The Apache Web server allows secure file exists Or can it only be done at the litespeed?

Code:
Disabled Functions:crack_check,[COLOR="#FF0000"]symlink[/COLOR],crack_closedict,crack_getlastmessage,crack_opendict,psockopen,php_ini_scanned_files,hell-exec,system,dl,ctrl_dir,phpini,tmp,safe_mode,systemroot,server_software,get_current_user,HTTP_HOST,php_uname,ini_restore,popen,pclose,exec,shell_exec,suExec,passthru,pclose,proc_open,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellcmd,escapeshellarg,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,posix_access,posix_get_last_error,posix_getppid,posix_mknod,posix_strerror,posix_access,posix_ctermid,posix_get_last_error,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_initgroups,posix_isatty,posix_kill,posix_mkfifo,posix_mknod,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsidposix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname,rapih

thanks
 
You can't stop someone from symlinking through the shell but you can stop the symlink from working by judicious use of file owernship and permissions of named.conf.

I've never played with it so even though I have my ideas I'm not willing to put them out here for other admins to possibly break things.

Hopefully someone else who's done it will reply with additional information.

Jeff
 
Back
Top