LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-27-2013, 06:01 AM   #1
AbidDhanaiser
Member
 
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Rep: Reputation: Disabled
VSFTPD restriction on .gif, or other images


VSFTPD , server is not blocking the image uploading , how to restrict image or some specific files extension to not upload via FTP server in REDHAT .
 
Old 09-27-2013, 06:19 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by AbidDhanaiser View Post
VSFTPD , server is not blocking the image uploading , how to restrict image or some specific files extension to not upload via FTP server in REDHAT .
You can use:
Code:
deny_file={*.gif,*.jpg}
 
Old 09-27-2013, 06:40 AM   #3
AbidDhanaiser
Member
 
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Original Poster
Rep: Reputation: Disabled
its not working , its uploading the image files gif , also jpg , JPEG
 
Old 09-27-2013, 07:02 AM   #4
AbidDhanaiser
Member
 
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Original Poster
Rep: Reputation: Disabled
it works , forgot to vasftpd reload
 
Old 09-27-2013, 07:26 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by AbidDhanaiser View Post
it works , forgot to vasftpd reload
Cool. You can mark the thread as "SOLVED" from the "Thread Tools" link on top of the page

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating gif images for gifsicle cent_sangeeta Linux - General 1 09-26-2012 06:11 AM
Firefox 3 gif images not loading automatically mitchellray Linux - Desktop 2 03-31-2009 10:11 AM
How to reduce the size of GIF images robbbert Linux - Software 2 07-03-2006 12:00 AM
make movie using gif (non animated) images guillaume31 Linux - General 1 09-17-2004 04:56 AM
converting .tif images to an animated .gif file with a script illiniguy3043 Programming 2 06-01-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration