Publish and Subscribe Security policies problem
| Wed, 2008-07-23 08:15 | |
|
|
I am having some issues with TSecurityPolicy object which i am passing while defining a property. _LIT_SECURITY_POLICY_S0( KAllowSetPolicy, 0x2000FC04 );and my ::Attach() and ::Define() is working fine but later I am getting KERN EXE 3. _LIT_SECURITY_POLICY_PASS( KAllowAllPolicy );Please help me.... |






Forum posts: 295
Hi cheers,
This link will be helpful to you.
http://www.newlc.com/forum/damn-kern-exec-3-device
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++
Forum posts: 17
Hi Sahu,
Can you please let me know how i can restrict a dll from reading any published property or any other way I can achieve the same without using TSecurityPolicy.
Cheers,
Reeju
Forum posts: 17
Using vendorID and Capabilites I am able to restrict external entities to read published properties.
I used :
IMPORT_C TSecurityPolicy(TVendorId aVendorId, TCapability aCap1=ECapability_None, TCapability aCap2=ECapability_None, TCapability aCap3=ECapability_None);and
static IMPORT_C TInt Define(TUid aCategory, TUint aKey, TInt aAttr, const TSecurityPolicy &aReadPolicy, const TSecurityPolicy &aWritePolicy, TInt aPreallocated=0);