Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Best practices for security implementation in RESTful api services using WCF/WebApi

Best practices for security implementation in RESTful api services using WCF/WebApi

Scheduled Pinned Locked Moved C#
securitycsharpjavaphpwcf
6 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Md Marufuzzaman
    wrote on last edited by
    #1

    Hi Guys, I am trying to create a RESTful api service which will be consume same or cross platform and it would be easy to access from php,jsp others clients. For now what would be the best way to implements the authentication. I am a bit confused should I go for OAuth 2.0 or WIF or something else. I need your help guys and I would be really so glad for your any suggestion, examples, code snippets, etc.... Waiting for your response, have a great day..................

    Thanks Md. Marufuzzaman


    I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

    L 1 Reply Last reply
    0
    • M Md Marufuzzaman

      Hi Guys, I am trying to create a RESTful api service which will be consume same or cross platform and it would be easy to access from php,jsp others clients. For now what would be the best way to implements the authentication. I am a bit confused should I go for OAuth 2.0 or WIF or something else. I need your help guys and I would be really so glad for your any suggestion, examples, code snippets, etc.... Waiting for your response, have a great day..................

      Thanks Md. Marufuzzaman


      I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Md. Marufuzzaman wrote:

      For now what would be the best way to implements the security.

      Not "security", but "authentication" :)

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

      M 1 Reply Last reply
      0
      • L Lost User

        Md. Marufuzzaman wrote:

        For now what would be the best way to implements the security.

        Not "security", but "authentication" :)

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

        M Offline
        M Offline
        Md Marufuzzaman
        wrote on last edited by
        #3

        Thanks, But I could not found your suggestions :(.

        Thanks Md. Marufuzzaman


        I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

        L 1 Reply Last reply
        0
        • M Md Marufuzzaman

          Thanks, But I could not found your suggestions :(.

          Thanks Md. Marufuzzaman


          I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Documentation[^] :)

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

          M 1 Reply Last reply
          0
          • L Lost User

            Documentation[^] :)

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

            M Offline
            M Offline
            Md Marufuzzaman
            wrote on last edited by
            #5

            Hi, Thanks for your response; well I go thru that before and my opinion something like a general approach nothing but using ssl and data encryption cause when you transmit over the wire data could be readable. What do you think on that.

            Thanks Md. Marufuzzaman


            I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

            L 1 Reply Last reply
            0
            • M Md Marufuzzaman

              Hi, Thanks for your response; well I go thru that before and my opinion something like a general approach nothing but using ssl and data encryption cause when you transmit over the wire data could be readable. What do you think on that.

              Thanks Md. Marufuzzaman


              I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Md. Marufuzzaman wrote:

              something like a general approach nothing but using ssl and data encryption cause when you transmit over the wire data could be readable. What do you think on that.

              SSL is always a good starting-point, prevents people from eavesdropping by encrypting anything that's communicated.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups