Re: IWMCredentialCallback::AcquireCredentials() and CryptProtectData()



On Jul 2, 11:41 am, Jerislav <jeris...@xxxxxxxxx> wrote:

Well, local system account is not intended for such applications.
Start your windows service under normal user account.

Beside that one you've found, there are other limitations on local
system account, so generally, create special user account, or use
existing one for services.

I'm not sure I agree with you. I'm building an application which
continuously streams
a windows media stream to a streaming server, without any interaction
with a user.
Also, the process does not have any special requirements, so it sounds
to me
like it's a perfect candidate to run as a service.

Of course, I know that appearently the process does have special
requirements
regarding to encrypting credentials (assuming that that is indeed the
problem),
but it's still strange. I would think I don't need any special
privileges on the machine
running the services, but only on the streaming server I'm connecting
to, which
is what i use the username/password for :-)

Nevertheless, it is a fact that it doesn't work, and indeed I'm now
running the
service under another acccount, but I'm still interested in knowing
how to
do the encryption myself using CryptProtectData().

Greetings,
Roland Blom
Triple IT
Netherlands

.



Relevant Pages

  • Re: IWMCredentialCallback::AcquireCredentials() and CryptProtectData()
    ... local system account is not intended for such applications. ... Start your windows service under normal user account. ...
    (microsoft.public.windowsmedia.sdk)
  • Request for Recommendations (reply to Jason)
    ... Windows Service, convert the applications into classes, and have the Service ... changing by letting the Service run under a system account. ... modify the system accounts access rights though, ... and looked more like the "new Thread" pop-up than the ...
    (microsoft.public.vsnet.general)
  • Request for Recommendations (reply to Jason)
    ... Windows Service, convert the applications into classes, and have the Service ... changing by letting the Service run under a system account. ... modify the system accounts access rights though, ... and looked more like the "new Thread" pop-up than the ...
    (microsoft.public.vsnet.general)
  • Re: Windows Service Cannot Move Files
    ... XP there is a network version of the system account you can use. ... flFile.move) it gets an error saying access is ... why windows service cannot do the same. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: First time user of win xp fax service / fax console - no sending possible
    ... The Fax Service has always been uniquely intolerant of moving its default file locations because it must use its own unique logon. ... one for system account, ... respectively system, user, administrator. ... done on the user account with restricted privileges. ...
    (microsoft.public.windowsxp.print_fax)