Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    53

    Default how to block extension on server?

    hello

    how to block the following file extensions on server?
    .rar
    .zip
    .exe
    .avi
    .mp3
    .mpeg
    .mp4
    .wav
    .wma
    .flv
    .mkv
    .mov
    .mp4
    .mpg
    .rm
    .vob
    .wmv
    .3g2
    .3gp
    .asf
    .asx
    .torrent


    is it possible to automatically delete files that are uploaded with
    the above extension?

  2. #2
    Member
    Join Date
    Jan 2008
    Posts
    53

    Default

    any update?

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You could try to do this via your upload script.

    You could also disable them by an htaccess.

    You could run daily search/deletes.

Similar Threads & Tags
Similar threads

  1. Acl rule to block domains .TLD extension ??
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-13-2009, 04:48 AM
  2. [StepByStep] Decreasing server CPU load with PHP APC cache extension
    By FractalizeR in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-28-2008, 10:11 AM
  3. Allow .eml extension attachment on server
    By linuxgirl in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-24-2007, 08:05 PM
  4. Replies: 0
    Last Post: 01-30-2006, 07:34 PM
  5. Replies: 6
    Last Post: 06-23-2004, 11:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube