Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6824241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:52:42+00:00 2026-05-26T21:52:42+00:00

I have a WCF API which supports SOAP/JSON/XML but we don’t provide JSONP. This

  • 0

I have a WCF API which supports SOAP/JSON/XML but we don’t provide JSONP.
This means if someone wants to consume our API using JSON they must create a server side proxy to get around the cross browser limitation.

I kind of like this since it discourages users from putting api keys and secrets in client side code. While most methods accept and access token, we have auth methods which require the consumer to send key and secret to get this access token. If we expose JSONP some consumers may make this request client side and I’m not thrilled with that.

So… if you have an API that supports JSON, is it essential to support JSONP.
Is it terrible to require consumers to create a server side proxy?

JSONP is not hard to implement but for reason stated above I’m hesitant.
Kinda just looking for thoughts/advice.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:52:43+00:00Added an answer on May 26, 2026 at 9:52 pm

    You can make special auth keys that only work with JSONP, then return Javascript that checks location and makes sure that the auth key was used by a valid site.

    However, that won’t stop a malicious server from sending a JSONP request and parsing out the JSON.

    You need to figure out what your partners want and what attackers might to do make the trade-off between usability and security.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here at work we have developed a SOAP WCF API that can be reached
I have build an APi which is a WCF Service. In the web.config for
I have two WCF Web API Contracts. Before this, I was happy that I
I have a WCF Web Service which is referenced from a class library. After
I have a problem with an Api I'm currently developing with WCF Web Api,
I have the following setup: Intranet Application --> Call WCF Web Api --> Calls
I am designing a WCF service which have some operations that i expose to
I have a known working web service which is configured as a SOAP and
I have a WCF Web Api Restful webservice. I want every single service call
I have recently discovered OData & the new WCF Web APi library on codeplex.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.