Tag Archives: policy

Sending Encrypted Binary Messages With PHP Web Services

Web services has made the communication between heterogeneous environments (say PHP with .NET  or Java) a reality. It has defines standards for communicate not only with texts but also with binaries. And more importantly you can keep these communication confidential … Continue reading

Posted in php, security, SOA, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , , , | 2 Comments

WS-SecurityPolicy With PHP

WS-SecurityPolicy specification defines standards for defining security policies for your web service. WSF/PHP allows you to declare your security policies according to these standards. You can take one of following approaches to associate policies to your web service or client. … Continue reading

Posted in DataServices, php, REST, security, Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , | 14 Comments

PHP Data Services With WS-Security

Earlier I wrote a blog about how to make your wordpress blog a web service using the WSF/PHP Data Services library. I will expand that post to demonstrate the use of WS-Security features with WSF/PHP. This time it is a … Continue reading

Posted in DataServices, security, Tutorial/Guide, web services, WSDL, wsf/php, wso2 | Tagged , , , , , , | 5 Comments

Web Services Security in WSF/PHP 1.3.2

With WSF/PHP 1.3.2 you can use following basic features in WS-Security. Feature Purpose Array based Security Policy Options ($sec_policies) Security Token Options ($sec_token_options) UsernameToken Authentication array(“useUsernameToken” => TRUE) array(“user” => “your_username”, “password” => “your_password”, “passwordType” => “Digest”); //Digest/Plain Timestamp Avoid … Continue reading

Posted in security, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , , , , , , | 2 Comments