IXMLParser::SetSecureBaseURL
This method sets the secure base URL. The secure base URL is used to stop cross-domain data access.
Syntax
HRESULT SetSecureBaseURL(
const WCHAR * pszBaseUrl
);
Parameters
- pszBaseUrl
[in] The base URL.
Return Values
After the secure base URL is set, all XML loads must come from the same domain (unless the user has explicitly enabled cross-domain data access). For example, the following will return an E_ACCESSDENIED error.
pParser->SetSecureBaseURL(L"https://microsoft/;
pParser->SetURL(NULL, L"https://www.microsoft.com",FALSE);
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: xmlparser.h
See Also
IXMLParser | IXMLParser::GetSecureBaseURL
Send Feedback on this topic to the authors