Personalize

Can't find what approach to use

Forums :

Hello.

It is required:

- user authentification at every service call (as client can be windows aplpication or website or even Activex)

- encryption (so all data transfered between client and webservices is encrypted)

- file transfer.

After checking examples i'm confused what to use, as examples satisfy only  1 or maximum 2 of requirements.

When i turn on encryption certificate files are required on client (what can't be done in case of Activex and not to good to have it in Windows application).

Possibly i need to use my own algorithm of encryption on server and client not to use certificate files.

Is it correct or if there is another way to  satisfy all requirements with wso/php api?

Thanx in advance.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi Pash, Actually you can

Hi Pash,

Actually you can implement all your implement with wsf/php, so you don't need to write any encryption algorithm yourself.

Just try to combine the following samples ( check the sample directory)

 

mtom/mtom_upload_client_base64.php    ( you have to use non-optimized file transfering in order to encrypt the message)

security/username_token/client.php (for authentication)

security/encryption/client.php (for encryption)

 

 

 

Thanks

DImuthu

 

As i can see from code

As i can see from code for

security/encryption/client.php (for encryption)

Additional files

($rec_cert = ws_get_cert_from_file("../keys/bob_cert.cert");

$pvt_key = ws_get_key_from_file("../keys/alice_key.pem");)

are used what can't be done in my case.

That's why i created this post.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.