Results 1 to 4 of 4
  1. #1
    Aseem is offline Senior Member
    Join Date
    Mar 2009
    Location
    USA
    Posts
    127
    Rep Power
    0

    Default Web Service Security

    HI Guys,

    Suppose, i developed a web service. But i want only members to access my web service. How do i provide authentication in my web service in client side?

    Thanks for your answers.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default

    Look up ws-security for whatever web service framework you're using (Axis, Jax-WS etc).

  3. #3
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    368
    Rep Power
    5

    Default

    Hi Aseem :)

    You really like those web services, just like Tolls do :)

    Well, this time things won't be that easy for you,
    but you are web service guru now :)

    How much do you really know about security and authentication in web apps?

    Basic auth, digest auth, form auth, using headers, public keys, certificates,
    keytool, SSL, soap header security params... ???

    Takes a lot of time and patience to learn all those things and choose right
    one which will solve your problem.

    At the end you may end up with solution described here:
    Implementing WS-Security

    ...but it will taka a days for you to understand and implement it
    if you are at beginning with this issue

    Is there a shortcut for you?
    Well there are few Basic Authentication examples around but let's first talk about :

    - what you really need???
    Is server on Internet or Intranet?
    Can anyone become user?
    Are we skipping SSL, certificates...and just need basic auth with username and pass stored in DB on server, all with with some security in soap header ?

    Speak to us man! So we can deal with security paranoia in right way ;)

    cheers!

  4. #4
    Aseem is offline Senior Member
    Join Date
    Mar 2009
    Location
    USA
    Posts
    127
    Rep Power
    0

    Default

    Tolls and Fon,

    i know how to do now. But the basic one,using basic HTTP authentication.
    Thank you guys.

Similar Threads

  1. Security
    By manticohd in forum Reviews / Advertising
    Replies: 1
    Last Post: 02-03-2010, 08:17 AM
  2. how to call service method inside another service
    By kirtichopra2003 in forum Web Frameworks
    Replies: 1
    Last Post: 10-24-2009, 02:19 AM
  3. how to improve my security?
    By anthrax in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-13-2009, 09:08 AM
  4. one more try, applets security
    By willemjav in forum Java Applets
    Replies: 0
    Last Post: 03-09-2008, 01:19 PM
  5. Replies: 1
    Last Post: 07-23-2007, 11:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •