LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-03-2005, 04:24 PM   #1
greyhammer
LQ Newbie
 
Registered: Jan 2005
Posts: 15

Rep: Reputation: 0
cgi-bin security question


Hello all!

I know a little bit about setting up apache, and very little about cgi-scripts. Now I'm installing qmailadmin on my system, but I don't want anyone other than the postmaster to be able to login to it. That's because I don't want just anyone logging in to qmailadmin and setting their own autoresponders, forwards, etc.

Now qmailadmin resides in /var/www/cgi-bin/ so, if I had the following for my cgi-bin directory in httpd.conf, I think it should work. Are there any things I'm missing out? Security/permission loopholes?

<Directory "/var/www/cgi-bin">
Options None
AuthType Basic
AuthUserFile /usr/etc/mail.passwd
AuthName Qmailadmin
require valid-user
satisfy any
</Directory>

Thanks in advance
ghammer
 
  


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
Apache Newbie cgi-bin question Jukas Linux - Newbie 2 04-28-2005 01:32 PM
cgi-bin Question kemplej Linux - Networking 2 11-23-2004 10:54 AM
CGI to work out side of cgi-bin? crashedspine Linux - Newbie 13 09-02-2004 09:49 PM
Question on virtual hosts and CGI-BIN directory cgchris99 Linux - General 9 10-11-2002 12:57 PM
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:00 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