On Tue, Apr 29, 2008 at 2:21 AM, Marta Gros Marín <[EMAIL PROTECTED]> wrote:
> Hi, thanks for answering. Can you please tell me why it is better to
> manipulate the password file directly rather than calling htdigest or
> htpasswd? thanks.

Mostly for security reasons, really (although it would be much faster,
as well). Whenever you call an external program from a CGI script, you
run the risk of all the different types of shell exploits that can get
you. Plus neither of these programs was explicitly designed to be
called from the web. They therefore may or may not be safe for that
purpose in other ways.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to