Compartilhar via


IXMLParser::GetSecureBaseURL

4/8/2010

This method gets the secure base URL. The secure base URL is used to stop cross-domain data access.

Syntax

HRESULT GetSecureBaseURL( 
  const WCHAR * ppwcBuf
);

Parameters

  • ppwcBuf
    [out] Pointer to a buffer containing the secure 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::SetSecureBaseURL