Share via


IXMLParser::GetSecureBaseURL

Send Feedback

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 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::SetSecureBaseURL

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.