I've included the web-server on my device and want to add some basic
authentication features. Although the Platform Builder documentation
explains quite well how to give certain users various access rights, the
documentation does not state how to create/add the actual users. I'm using
a headless device, so I can't add users through normal GUI applications.

My questions are:

1. Is it possible to add users simply by adding keys to the Registry ? In
that case, what Registry keys ?

2. What APIs can I use to add users programmatically ? (I've browsed
through what is called the Security Support Provider Interface (SSPI). Is
this something I can use and is there any good samples available ?)

Regards,
Leif O.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

RE: Web-Server authentication by coreyb

coreyb
Thu Sep 25 22:07:50 CDT 2003

Check out the "Configuring User and Group Permissions for the Web Server"
page in the docs.

This page assumes you have the NetworkAdmin tool in your image. As the
pages states, though, you can also use the NTLMSetUserInfo, NTLMDeleteUser,
and NTLMEnumUser functions to manipulate users programmatically.

The NetworkAdmin ISAPI code itself is a public sample and can be found in
%_WINCEROOT%\Public\Servers\Sdk\Samples\Natadmin\Natisapi.

Hope that helps,
-Corey


Re: Web-Server authentication by Leif

Leif
Fri Sep 26 07:51:09 CDT 2003

Thanks Corey,

I've found the information. It looks like the 4.2 documentation is a lot
better than the 4.1 documentation on these issues. I still use 4.1 on my
device, and therefore also use the 4.1 docs. I'll use the 4.2
documentation from now on.

Regards,
Leif O

On Fri, 26 Sep 2003 03:07:50 GMT, Corey Burke [MS]
<coreyb@online.microsoft.com> wrote:

> Check out the "Configuring User and Group Permissions for the Web Server"
> page in the docs.
>
> This page assumes you have the NetworkAdmin tool in your image. As the
> pages states, though, you can also use the NTLMSetUserInfo,
> NTLMDeleteUser,
> and NTLMEnumUser functions to manipulate users programmatically.
>
> The NetworkAdmin ISAPI code itself is a public sample and can be found in
> %_WINCEROOT%\Public\Servers\Sdk\Samples\Natadmin\Natisapi.
>
> Hope that helps,
> -Corey
>



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/