none
How to get Outlook certification in C# code RRS feed

  • Question

  • I am developing an Outlook address book use office.js.

    First,there are 2 forms, A.aspx  and api.aspx. 

    I get login username by this code: Office.context.mailbox.userProfile.emailAddress when A.aspx document ready.

    Then i use ajax post userprofile to api.aspx get address book, but somebody can change this userprofile  or post

    data(forged) to api.aspx directly.

    How can i refused an illegal request in api.aspx (except add a login form). 

    Is there some way to get Outlook authentication use c# code not for javascript(js certification can be forged),Now a.aspx only has javascript code?


    forged

    forged
    Tuesday, July 11, 2017 1:22 AM