Hi



> Paul Newby wrote:
>
> > In fact, it seems the Midgard administrator must be
> > authenticated for any of the create functions to work.
> > Is this correct?
>
> Correct. As stated before, the new ACL model will allow you to
> open this up, but usually, wouldn't you explicitly want people
> to be authenticated before they get the possibility to alter
> your site?
>
> emile
>

You can also put this code on a page :

<?
if(isset($user_name) && isset($user_pwd))
{
  $adm_name="admin";
  $adm_pwd="password";

$url_adduser="http://$adm_name:$[EMAIL PROTECTED]/adduser/?name=$u
ser_name&password=$user_pwd";

  if(!($file=fopen($url_adduser)))
  {
    ?>Failed adding user &(user_name);<?
  }
  else
  {
    ?>User &(user_name); successfully added.<?
    fclose($file);
  }
}
?>

but maybe this is not secure enough ? Comments ?

regards,

[EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to