wasm-demo/demo/ermis-f/python_m/cur/0060

19 lines
635 B
Plaintext

From: jeremy at cnri.reston.va.us (Jeremy Hylton)
Date: Thu, 15 Apr 1999 18:44:31 -0400 (EDT)
Subject: HTML Authentication with Python
In-Reply-To: <7f5iru$rlm@news.acns.nwu.edu>
References: <7f5iru$rlm@news.acns.nwu.edu>
Message-ID: <14102.27498.772779.5941@bitdiddle.cnri.reston.va.us>
X-UID: 60
I don't think you want to do the authentication in Python at all.
Instead, you need to configure the Web server to do authentication.
If you configure the server properly, users won't be able to run your
CGI scripts until the server has checked their username and password.
Jeremy