LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07: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, 06: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, 09:06 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

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, 12: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 04:54 AM.
 
Old 09-03-2006, 09:02 PM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 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
Open Source Consulting | Domain Registration