I'm learning the Intel SGX and I have a question:
I wonder if I can use SGX to protect an application when I'm not the developer.In other words,if I can protect the application with only x86 binaries from service providers and application logic.
Tell me how.
You need to write your code using SGX API's and put the secretive part in enclave so that its protected .
You can refer to below link for for details on how to write a design an application using SGX API's.