URGENT: Disable File Manager

Mitsurugi

Verified User
Joined
Jul 19, 2005
Messages
39
Please tell me how to disable DA's File Manager across all sites, we sell software packages and must protect our source code.

Thank you.
 
You could edit the template and remove the link to the filemanager from it.
 
I'd like to rehash this question. Is there any way to disable it fully? Removing its icon from the the templates won't do much if the user has bookmarked its location or knows what its location is otherwise...right?

Thanks!
Alex
 
I'd like to rehash this question. Is there any way to disable it fully? Removing its icon from the the templates won't do much if the user has bookmarked its location or knows what its location is otherwise...right?
Psst... this thread was 2 years old :)
 
Fair point. Just editting templates to remove the related menu entries isn't going to prevent people from directly visitting the page(s). I'd also like to know if there is some way to *truly* disable some functionality.
 
Hello,

The all_pre.sh script can totally disable any function.
http://help.directadmin.com/item.php?id=166

eg:
Code:
#!/usr/local/bin/php
<?
$command = getenv("command");
if ($command == "/CMD_FILE_MANAGER/" || $command == "/CMD_FILE_MANAGER")
{
     echo "The Filemanager is disabled.\n";
      exit(1);
}
exit(0);
?>
John
 
Back
Top