IXMLParser::SetSecureBaseURL

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.

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

Requirements

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

See Also

Reference

IXMLParser
IXMLParser::GetSecureBaseURL