Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    62

    Question How to prevent the uploading or renaming of a specific script via FTP

    I need to block "scriptname.php" from being uploaded or renamed on the server via FTP for security. Does anyone know how to do this in proftp?

    Cheers

    cPanel.net Support Ticket Number: NA

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Is this just for one account or for all accounts?

    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    62

    Default

    Server wide for a temp period of time

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    I don't think that you can do that with pro or pure. However you can create a cron to run every 5 minutes to remove files with x name.
    Code:
    find /home -type f -name filename.php -exec rm -f {} \;
    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  5. #5
    Member
    Join Date
    Apr 2003
    Posts
    62

    Default

    I've done that at the moment, but every 24hrs, to search the whole HD, it was using a load of about 3+ so its set to run at the nightly cron job.

    Cheers though

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Prevent user to send email to a specific domain
    By bsasninja in forum E-mail Discussions
    Replies: 1
    Last Post: 09-04-2009, 05:47 PM
  2. Prevent Backup from running on a specific account
    By psychodreams in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-15-2009, 05:45 PM
  3. need help with mod-security to prevent atttacks from specific websites.
    By neonix in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-15-2006, 01:31 PM
  4. Renaming Formmail clone script
    By vortex2000 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-28-2004, 10:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube