질문하기질문하기
 

답변됨Display a dialog in a xbap?

답변

  • 2006년 4월 24일 월요일 오후 10:18Karen Corby - MSFT 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Yes, a fully trusted application (any app with SecurityPermission w/ UnmanagedCode flag and UIPermission with AllWindows flag) can lanch standalone windows.

    In some of your scenarios, it may be possible to use the Popup control to provide a dialog-like experience.

    In future versions of WPF, we hope to enable standalone windows in the internet sandbox.   As a part of the enabling process, as Ashish mentioned above, we will analyze both our implementation as well as provide some protection against phishing/spoofing.  Unfortunately, due to time/resourcing constraints, bringing Window into this version's internet sandbox was not possible.

    Your feedback here is really important to us - thank you!

     

모든 응답

  • 2006년 4월 13일 목요일 오후 1:29viliescu중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    What do you mean by dialog box? You can show a MessageBox but you cannot show modal or non-modal windows.
  • 2006년 4월 13일 목요일 오후 1:35Lei Jiang 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Yes, what I mean is that why I can't show a modal window? In a typical client application, there are a lot of modal window to get user input. If these window can be shown in xbap, it must be much easier to migrate a client application to a xbap.
  • 2006년 4월 13일 목요일 오후 4:38Ashish Shetty - MSFT중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Enabling any operation in the partial trust sandbox involves analyzing the implementation to ensure it poses no security risk to the end user. A lot of features important to developers in this space were made to safely work in the sandbox, in this version. Of course there are other features that you care about but we couldn't include in this version. Karen Corby has chimed in elsewhere in the forum that a feature request like this could be considered for future versions.
  • 2006년 4월 15일 토요일 오전 2:01Lei Jiang 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    This is not possible even in a Full-Trust environment, e.g. enterprise intranet?

    Another question is : is showing a window related to security risk?

  • 2006년 4월 15일 토요일 오후 6:24Billy Porter 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    As noted in several places, this weakness is making is extremely difficult to use browser apps for any real life client aplications.

  • 2006년 4월 24일 월요일 오후 10:18Karen Corby - MSFT 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Yes, a fully trusted application (any app with SecurityPermission w/ UnmanagedCode flag and UIPermission with AllWindows flag) can lanch standalone windows.

    In some of your scenarios, it may be possible to use the Popup control to provide a dialog-like experience.

    In future versions of WPF, we hope to enable standalone windows in the internet sandbox.   As a part of the enabling process, as Ashish mentioned above, we will analyze both our implementation as well as provide some protection against phishing/spoofing.  Unfortunately, due to time/resourcing constraints, bringing Window into this version's internet sandbox was not possible.

    Your feedback here is really important to us - thank you!

     

  • 2007년 11월 18일 일요일 오후 11:10drb 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Now that we are getting closer to shipping, has anything changed with respect to being able to use a Window in an XBAP?

     

    Thanks

    David