Use of Developer's key for an API [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am new to the shared API technologies. I have noticed, that almost every API has a developer key. For Example, facebook, Google Plus, Googe Maps, Apple iOS, etc...
Well I am not able to understand what is the use of this developers key.? If I am hosting an API how would developers key would benefit me.?
From what I perceived is: The API hosting company is aware of the total transactions from the developers product from which they can charge them.
Is there something more about the developers key.? Does it also maintains the security of the API, if yes, then how.?

A developer key is simply an authentication of who is using the API. If I have an API that I provide to you, and suddenly you start hitting my API with 1000 requests per second, I want an easy way to be able to measure that it is you causing all this load, so I can give you a call and ask you to fix the bug or even revoke your access.
The opposite would be an open API that anyone can hit without credentials. This would limit my options if suddenly bad actors started abusing my API. The only recourse I would have would be to look at what IP address all the requests are coming from, which is a dubious way to identify a consumer of my API. And how would I get ahold of you to ask you to stop?

Related

Ruby gem to "lock" an accepted agreement [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a Ruby gem to lock an agreement digitally. In other words, when a user clicks "I have read and accept the agreement", I would like to be able to save a copy of the agreement right at the time the user accepted and be able to later on prove that that was indeed a copy of the agreement at that time (in other words make it tamper proof).
I think this is not possible. If you are able to create this prove yourself then you are also able to recreate that proof with a different content or any timestamp.
But there are services that add digital signatures to your document. If both sides (or a court) also trusts this service provider then this might be a way: https://en.wikipedia.org/wiki/Digital_signature
The basic idea is: After the user agreed, you send all interesting pieces or information (content of agreement, ip address, timestamp, user address, etc.) to the service. The services returns you a signed version of that document. This works as a proof, since you are unable to change that document later on.

Real time messaging application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am curious to know the advantages between using parse or a custom xmpp server. I am curious if parse has the capability of being used for creating a real time chat application, because I have never used parse for that use. Or would it be easier and better to use a custom xmpp server to handle messages. I am also curious if parse would be able to completely delete data off the server because that is what my application requires. As background info I have already started the project with parse, but I could switch over to another option if it is necessary.
Thanks
In my experience with working with Parse, I don't believe that it's the correct solution for your needs.
You may get things up and running at first, but as you try to scale your application, you're going to need to ramp up your servers (and cost!) greatly to handle so many requests. Parse's pricing is based on your requests count for the month. Imagine how many requests you expect one user to make in a month. Now times that by 1000.... Not very scalable, huh?
Now I don't know much about xmpp servers, but I've heard from some colleagues that applications like WhatsApp are using Erlang and TCP servers (just like Call of Duty) to handle message requests. In fact, here's an article that talks about the logistics of WhatsApps technology https://www.erlang-solutions.com/about/news/erlang-powered-whatsapp-exceeds-200-million-monthly-users
Best of luck!

How do i implement a database for my ios app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
So i created my first app which allows users to track there fitness information (workouts, routines, etc). I want take my app to the next step by allowing the user to create there own account and be able to access their workouts from any ios device (all they have to do is log in). I know i have to use databases, but I just don't know where or how to start this process.
Could you recommend any tutorials or perhaps a resource you used to teach yourself? I'm familiar with sql (took a course on it in university.
thanks guys, I apologize for the newb question.
There are many third-party services you can use that can take care of the backend for your app so that you don't need to worry about managing the database yourself. Two of the most popular ones are parse and stackmob. Take a look at their documentations. I personally use parse and would recommend it.
I've never written any os apps, but for applications in general.
There are many ways, one of which is getting a server/website (you can get free ones) and set up the MYSQL database to have the tables you need like users etc.
Then simply send requests via POST/GET to the server which will enter it into the database.Then when they want to login just do the reverse.
I would personally uses sockets, and probably encrypt the data. You may as-well send information such as how long they've used the app for etc.

Getting Started with iOS MDM service [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to start with iOS MDM service. Plan is to do a proof of concept, first get a feel for iOS MDM api and then propose it to my manager.Few question regarding that:
Is Enterprise Developer Account required just for the POC purpose? My understanding is Enterprise Account would be needed for distribution purpose only.
What are the tutorials available for MDM api?
I came across this document which gives a good introduction of MDM service. Is there any other similar document available?
1) Yes - you're going to need an Enterprise Account AND let Apple know you want access to the MDM documentation and libraries. If you're doing your work on behalf of a company I would recommend finding your local Apple Rep in CT. I have a pretty good idea as to who your rep out there is so let me know if that's the case.
2) You may be able to dig up some tutorials (or people that know some) on EnterpriseiOS.com though that site is hit & miss. If you're looking to do everything from scratch (including the APNs server) there are a lot of git projects out there that handle it.
3) Once you take care of step 1 there are some other documents out on the Apple site that discuss the calls in detail. This document covers a lot of the protocol as well.
Good luck!
EDIT:
Anyone looking to take this route can contact Apple Developer Relations at 1 (800) 633-2152 Mon-Fri 9:00AM-7:00PM CST.

Are there any tools to integrate MS SQL Server Reporting with Ruby? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to pull some reports that live in a SQL Server Reporting Server from a Ruby web application.
How can this be done?
There is nothing out there pre-built that I'm aware of, but you have some options for integration.
The simplest, if users have direct access to the RS server, is to just redirect or link them to the report using their URL-based strategy, possibly opening a new window. If users do not have direct access, you can still use the URL-based strategy, but perform a request on the back end from your Rails app to the MS Reporting Services server, and stream all the report bytes through to the browser:
open("http://ReportServer/reports?querystringxxxx") { |f|
#response = f.read
}
This is drastically simplified, of course. You'll need to pay particular attention to your content types to ensure things get interpreted correctly by the browser.
The next option is to use their web services API, but unless you need particularly advanced functionality, I'd say the URL/REST based approach is far, far simpler.
If you get it working, take the opportunity to try creating your first gem, put it up on github, and then maybe somebody else will use it one day... :)
The rest-based approach would only work for a report with no parameters.
If the report has parameters, you will need to use the Web Services API, a SOAP-based interface that requires you to parse the request (with the parameters) into XML and send that with the request to MSSRS.
According to my co-worker, who has done it, it's pretty cumbersome for what you actually get.

Resources