cancel
Showing results for 
Search instead for 
Did you mean: 

How to encrypt stream from .net connector to 4.6c RFC?

Former Member
0 Kudos

We are developing an application using VB that will call the .net connector to make BAPI calls. We want data encrypted at all points. What is the best mechanism? SNC? How to implement? Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

reiner_hille-doering
Active Contributor
0 Kudos

Yes, if you use SNC with an SNC provider that supports encryption, the whole datastream will be encrypted.

As far as I know GSSNTLM (using NTLM protocoll for Windows NT 4.0 and higher) does not support encryption, but only authentication. All other provider including GSSKERB (for Windows 2000 Kerberos) and Secude support encryption.

For client apps SNC is fairly easy to use: You define SNC_MODE and SNC_PARTNERNAME in connection string.

To controls the degree of protection (as thus ensure encryption, you use parameter SNC_QOP, 3 means "encryption". For all paramters exist properties in the Destination classes.

There is some documentation and samples in the NCo docu (and also partly in the article https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to use windows nt logon for single sign-on in an sap web application.article ).