Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

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 Value

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.

Copy Code
pParser->SetSecureBaseURL(L"http://microsoft/;
pParser->SetURL(NULL, L"http://www.microsoft.com",FALSE);

Requirements

Header xmlparser.h
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also