logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Some help with locking Cgi-bin
Author
Anthraxnz



Joined: 28 Oct 2007
Posts: 1

PostPosted: Sun 28 Oct '07 1:31    Post subject: Some help with locking Cgi-bin Reply with quote

Hi

i have the Circumventor cgi proxy running on my apache2 server, what i want to do is make it so it asks for a password.

i got the first part, so when you load the index page it asks for authentication, the problem is when you go to the history you can just launch the cgi file and it bypasses the authentication.

so what i want to do is make it so you have to enter a password.

this is the index file address that requires authentication
http://127.0.0.1/peacefire

this is how you bypass it, this needs locking
http://localhost/cgi-bin/nph-030731.cgi

is it possible to do a similar thing using .htaccess files? for the cgi-bin
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 30 Oct '07 1:46    Post subject: Reply with quote

I guess you need to skip that other way and insted use what is built into apache using AuthConfig and .htpasssword/group files to lock down the cgi-bin directory itself, or one can use <Files> to lock down a single file leaving the entire directory free.

See
http://httpd.apache.org/docs/2.0/howto/auth.html
http://httpd.apache.org/docs/2.0/mod/core.html#directory
http://httpd.apache.org/docs/2.0/mod/core.html#files
Back to top


Reply to topic   Topic: Some help with locking Cgi-bin View previous topic :: View next topic
Post new topic   Forum Index -> Apache