Categories: Technical Solution | Symbian C++ | Security | S60 3rd Edition | S60 3rd Edition, Feature Pack 1
| ID | TSS000645 | Creation date | May 10, 2007 |
| Platform | S60 3rd Edition S60 3rd Edition, FP1 | Devices | |
| Category | Symbian C++ | Subcategory | Security |
| Keywords (APIs, classes, methods, functions): |
Restricting ECom plug-in usage to known clients
To restrict the use of a DLL or ECom plug-in only to known/trusted clients, it is possible to identify the caller with RProcess::SecureID() and/or RProcess::VendorID().
Instantiating an RProcess object creates a handle to the current process (client that loaded the DLL), with its SecureID and VendorID values set.
RProcess loaderProcess;
if( loaderProcess.VendorID() != KMyVendorId )
{
return KErrPermissionDenied;
}
RProcess loaderProcess;
if( loaderProcess.SecureID() != KMySecureId )
{
return KErrPermissionDenied;
}
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| target type of lib files | karanala | General Symbian C++ | 2 | 2007-02-16 06:32 |
| Password Caching? | thetao | Symbian Signing, Certification and Security | 3 | 2008-06-16 21:25 |
| Flash 2 Sis | Capatain Future | Flash Lite on Nokia Devices | 4 | 2008-08-22 11:07 |
| playing mp3 on the emulator | rubi13133 | Symbian Media (Graphics & Sounds) | 6 | 2008-07-02 11:01 |
| How to register an ECom plugin? | brianwsun | Symbian Media (Graphics & Sounds) | 5 | 2007-12-17 10:58 |