31.08.2004 17:48:48CertOpenStore problem Ответов: 1
Andrey
I’m trying to open the system store from IIS web extension and I
get an ACESS_DENIED error. It works when I run extension in "High-Isolation" mode under account belonging to Administrators group (which is not safe at all!!!), but id doesn’t work if I run it under local IWAM_ account or specially-created "non-administrator" domain account. Where (and how) adjustments should be done to make it work?

Here is the call I make (C++)
store = CertOpenStore( CERT_STORE_PROV_SYSTEM,
PKCS_7_ASN_ENCODING | X509_ASN_ENCODING,
NULL,
CERT_SYSTEM_STORE_LOCAL_MACHINE,
L"MY"
);

Thanks,
Andrey
 
Ответы:
01.09.2004 11:21:59Kirill Sobolev
Try to open it with CERT_STORE_READONLY_FLAG