NTML authentication protocol

B

brambilla

Hi to all

I need to configure User/Password for access to device in LAN. The
device is
a board with ARM processor and NIC 10/100. On the board there's a DOM
(disk
on module). Some client need access to Hard Disk (the DOM) where my
application write some data. My application is write in VB.NET 2005
and the
O.S. is WinCE 6.0.

In order to setting the file server I would want to know as I can
manage
customers and password from my application (which libraries and/or
instructions allow me to read, to write, to cancel, to insert the
credentials
?). How can i permanently store the credentials into registry ? (how
must i
set up the OSDesign ? Hive-base registry, ecc... ?)

Thank you very much
Ale
 
P

Paul G. Tobey [eMVP]

You'll need to persist wherever the credentials are stored. That depends on
the settings of the operating system, such as the registry value
MasterKeysInRegistry (read the help). If you are setting that value to 1,
then the information will be stored in the registry, so the registry must be
persistent. How you do that is up to you and will depend on your hardware.
Hive-based registry is certainly one way to do it.

The APIs to do things with NTLM credentials are declared in ntlmssp.h. Of
course, you'll have to build the file server into your OS and generate an
appropriate SDK. There is no managed code wrapper for the NTLM APIs that I
know of, though you could certainly generate one.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top