LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2006, 08:46 PM   #1
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Rep: Reputation: 0
Thumbs up deny access to certian file type


Hello,

When I login to vsftpd it chroots to my home directory which has .bashrc,.bash,.kde, etc etc etc ...

Is there anyway to not allow ftp and web access to any file with the .<filename> extension easily?

I've tried ...

<Files ~ "\.*">
Order allow,deny
Deny from all
</Files>

But even if I could get that to work I would still see it in ftp?

Any suggestions would be greatly appreciated
*the newb
 
Old 09-02-2006, 07:14 PM   #2
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Original Poster
Rep: Reputation: 0
anyone????
 
Old 09-02-2006, 10:06 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Did you even search for this? I typed 'vsftpd hide files' into Google and got a result from the FreeBSD mailing list that gave me part of the vsftpd.conf file to do this and I double checked it against the vsftpd.conf man page and it's correct. You're gonna call me a nasty name but I'm not scared, the answer is super easy to find yourself and you'll learn more that way.

Off you trot.
 
Old 09-03-2006, 01:57 AM   #4
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Original Poster
Rep: Reputation: 0
Cool Nasty Name?

Quote:
Originally Posted by cs-cam
Did you even search for this? I typed 'vsftpd hide files' into Google and got a result from the FreeBSD mailing list that gave me part of the vsftpd.conf file to do this and I double checked it against the vsftpd.conf man page and it's correct. You're gonna call me a nasty name but I'm not scared, the answer is super easy to find yourself and you'll learn more that way.

Off you trot.
Yeah, I searched for everything but "vsftpd hide files" . I never make anything real easy on myself. When I do find the solution I'll post it here for anyone else needing a "trot". Thanks for the clue ! See ya soon ! Knowing what question to ask or what to search for always helps me anyway. I was asking the wrong questions to google...

Last edited by redhatattack; 09-03-2006 at 05:54 AM.
 
Old 09-03-2006, 10:02 PM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
http://www.die.net/doc/linux/man/man...pd.conf.5.html

See the very self-explainatory hide_file and deny_file options. I gave up on waiting to see you post back.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Access Denied on a file type? Drfarfrompuken Linux - General 3 11-28-2005 07:32 AM
access and deny mchitrakar Linux - Security 8 04-24-2004 04:53 AM
where I can find user type Access gorup type and access satishpatel Linux - General 0 04-07-2004 06:29 AM
Deny Webpage Access thebrave65 Linux - Security 5 05-20-2003 01:51 PM
Deny access by IP address plisken Linux - Security 1 12-29-2001 11:11 PM


All times are GMT -5. The time now is 08:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration