hello all :D
Now just write the short article about security.
How to prevent from symlink ?
so lets do it
Firs step ” change permission for ln command ”
sudo su
cd /bin
chmod 400 ln
second step ” edit php.ini configuration ”
to search php.ini file
locate php.ini
edit php.ini
nano /etc/php5/apache2/php.ini
search ” disable_functions ” and put in the list
disable_functions = symlink,system,shell_exec,eval,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinumcols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,ftp,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,popen,fpassthru,php_uname, pcntl_exec,
and restart the service .
/etc/init.d/php5 restart
/etc/init.d/apache2 restart
so it is short and i hope this make your server is secure :D
Title : How to prevent from symlink
Description : hello all :D Now just write the short article about security. How to prevent from symlink ? so lets do it Firs step ” change pe...
Description : hello all :D Now just write the short article about security. How to prevent from symlink ? so lets do it Firs step ” change pe...
But user can upload symlink to Server.
ReplyDelete