| Author |
Message |
gyulak
Guest
|
Posted:
Tue Nov 15, 2005 5:30 pm Post subject:
CreateDRMProfile only works if someone is logged in |
|
|
We are trying to create a "license provider service" for our clients so they
can create encoder profiles to protect their content. On the computer that
has the Rights Manager SDK installed I can create profiles by calling
CreateDRMProfile.
To enable our users to create their own profile I have incorporated the
given sample into a VBScript page (that basically does the same which the
sample does). After creating the profile we store it in a database and the
file system (by calling ExportDRMProfile ) and they can retrieve the profile
via a http link. The creation process works if someone is logged into the
computer but fails with various error codes if no one is logged into the
server.
I understand that this is not the preferred method but cannot find any
samples to start with. The process is described here
(http://tinyurl.com/dg6ly), but requires a code that "should be run on the
client computer".
Any help is appreciated
GyulaK
|
|
| Back to top |
|
 |
Satoru Koshiba (JP)
Guest
|
Posted:
Wed Nov 16, 2005 9:30 am Post subject:
RE: CreateDRMProfile only works if someone is logged in |
|
|
Hello gyulak
If you made a code of generating drm profiles and set it correctlly , client
user can use DRM via windowsmedia encoder9 security setting.
I suggest you to check reference of WindowsMediaEncoder9SDK and
WindowsMediaRightsManager10.1SDK.
And this book will be your help :-)
WindowsMediaResouceKit
http://www.amazon.com/exec/obidos/tg/detail/-/0735618070/qid=1132131497/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/103-8041689-7062268?v=glance&s=books&n=507846
Thanks
"gyulak" wrote:
| Quote: | We are trying to create a "license provider service" for our clients so they
can create encoder profiles to protect their content. On the computer that
has the Rights Manager SDK installed I can create profiles by calling
CreateDRMProfile.
To enable our users to create their own profile I have incorporated the
given sample into a VBScript page (that basically does the same which the
sample does). After creating the profile we store it in a database and the
file system (by calling ExportDRMProfile ) and they can retrieve the profile
via a http link. The creation process works if someone is logged into the
computer but fails with various error codes if no one is logged into the
server.
I understand that this is not the preferred method but cannot find any
samples to start with. The process is described here
(http://tinyurl.com/dg6ly), but requires a code that "should be run on the
client computer".
Any help is appreciated
GyulaK
|
|
|
| Back to top |
|
 |
gyulak
Guest
|
Posted:
Fri Nov 18, 2005 1:30 pm Post subject:
RE: CreateDRMProfile only works if someone is logged in |
|
|
hello,
Thanks for answering. I try to explain the situation a bit more deeply:
DRM profile generation runs on the licensing server (opposed to the
description). The asp page that generates the profile fails with "error
'80070002' " if no one is logged into the server. If someone is logged in,
the asp code runs perfectly.
The web site is running under an account that is a member of the
administrations group. The error however varies if I add the IUSR_ account to
the admin group, or the IWAM_ account...
I have chosen the server-side profile generation and transferring the DRM
profile to the encoder computer because no examples are available - neither
on the web or in the referred SDKs - to create an encoder profile from the
encoder application. Using the implemented method after generating the
profile and transferring it to the encoder computer it has to be "imported"
using encoder app. / properties / security / import DRM profile. (just a note
that the button says "Import DRM profile" and the popup dialog title is
"Input DRM profile") I really would like to use the "New" button to generate
profile over the web, but the documentation is really sparse on this topic,
to say the least.
gyulak
"Satoru Koshiba (JP)" wrote:
| Quote: | If you made a code of generating drm profiles and set it correctlly , client
user can use DRM via windowsmedia encoder9 security setting.
I suggest you to check reference of WindowsMediaEncoder9SDK and
WindowsMediaRightsManager10.1SDK. |
|
|
| Back to top |
|
 |
|
|
|
|