Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

.htaccess file for protecting user data and password files

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Excluding a single file from .htaccess password protection? - Hi, I've added .htaccess password to my web site for various reasons. However, I think it would be nice to have a welcome page that's to everyone. Is there any way to exclude a single file (ie, from being

Password protecting in httpd.conf - Hi there I'm having a couple of woes with various on my server. AuthName ..

how to stop the password tries in the .htaccess protected .. - To improve the security and stop the password tries in the .htaccess protected folder, HOW can I disable a .htpasswd user if in a short time, this user's password has been typed in wrong for 10 times?

Some newbie questions regarding using .htaccess for passwo.. - Apologies if this is the wrong group for this, I tried searching dejanews but was unable to narrow my search down enough to get anything useful. The scenario: Local soccer team wants a password protected directory on their site, we have found a

password protection (.htaccess) and streaming mp3's - Hey folks, just for the record this work in winamp. I have an apache web server with an mp3 link that is password After you can see the mp3's. Click on a link and the little web engine I'm using (Zina) creates a..
Next:  Apache: Add some description to my files  
Author Message
swedey

External


Since: Mar 07, 2004
Posts: 4



(Msg. 1) Posted: Wed Mar 10, 2004 2:07 am
Post subject: .htaccess file for protecting user data and password files
Archived from groups: alt>apache>configuration (more info?)

Hello there,
I've got a cgi-bin directory with some scripts. In one users' folder
(users of a message board), plain text files contain info and passwords.

The .htaccess file for this folder/directory reads:

<Limit GET POST HEAD>
order deny,allow
deny from all
</Limit>

Is this sufficient to keep these files from being downloaded or otherwise
accessed outside of proper use of the board? Trying to grab any of these
files from a browser only results in a misconfiguration (500) error, but
I'm a little uncomfortable with this, as this does show that the files
exist.

Many thanks,
--
Swedey

 >> Stay informed about: .htaccess file for protecting user data and password files 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Wed Mar 10, 2004 11:50 am
Post subject: Re: .htaccess file for protecting user data and password files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Swedey <swedey.DeleteThis@gmx.de> wrote:
 > Is this sufficient to keep these files from being downloaded or otherwise
 > accessed outside of proper use of the board?

Well, if you can't put them somewhere out of reach (in the conf directory
of the web server for example)...

Davide

--
| Reporter, n.: A writer who guesses his way to the truth and dispels
| it with a tempest of words. -- Ambrose Bierce, "The Devil's
| Dictionary"
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: .htaccess file for protecting user data and password files 
Back to top
Login to vote
gebauer

External


Since: Oct 29, 2003
Posts: 8



(Msg. 3) Posted: Thu Mar 11, 2004 10:24 am
Post subject: Re: .htaccess file for protecting user data and password files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello Swedey,

maybe you can also use the method apache uses for the
..htaccess-files in the httpd.conf:

<Files ~ "^\[pattern]">
Order allow,deny
Deny from all
Satisfy All
</Files>


Greets, Marc


Swedey wrote:
 > Hello there,
 > I've got a cgi-bin directory with some scripts. In one users' folder
 > (users of a message board), plain text files contain info and passwords.
 >
 > The .htaccess file for this folder/directory reads:
 >
 > <Limit GET POST HEAD>
 > order deny,allow
 > deny from all
 > </Limit>
 >
 > Is this sufficient to keep these files from being downloaded or otherwise
 > accessed outside of proper use of the board? Trying to grab any of these
 > files from a browser only results in a misconfiguration (500) error, but
 > I'm a little uncomfortable with this, as this does show that the files
 > exist.
 >
 > Many thanks,<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: .htaccess file for protecting user data and password files 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]