security - Sending sensitive information to REST service -
we have soap based web service our in house applications use authenticate users. basically, send soap request username , password. web service authenticates credentials against our data store , returns user information if authentication successful. web service secured using basic authentication , ssl.
we need make modifications web service , considering re-writing rest service. rest services have created in past have been simple , had no need security. have never created rest service used sensitive information, have couple of questions / concerns:
first, there best practice sending sensitive query parameters (user credentials) rest service securely? can still use basic authentication , ssl.
second, if send query rest service using post, still considered restful, or required rest queries?
you can use ssl , basic authentication rest web services well.
http used data retrieval (queries) can use http post well. useful if can use type of http caching. post usefull if need transfer lot of data define query or if web service operation expects complex data format instead of simple arguments.
Comments
Post a Comment