CI and Phil Strugeons REST API |
[eluser]bugboy[/eluser]
I've been looking at this library for a while now and think its great. I have a few questions regarding this and the other library restclient. Rest Server Rest Client On Phil's presentation slide slide from Igniting your web service - EECI2009 It was mentioned using the api you create to power your own web app and allow other people to access the data using the api. I can see the real benefits of this as it means you build your web app once using the same api as your users. If i have one api for my web app and users i would like it to be secure so i use digest as indicated. Does this mean that my web app which is on the same server has to have a username and password like a user to use the rest server? I was thinking that if the same server(the actual web app) asks for the api then no auth is needed as its calling itself in effect and if a user on another server a auth is needed as its outside the web apps server? Does the libraries already take this into account? If not what would be the best suggestion for this? Instead of using the config: Code: /* I'm thinking of using a database to store the users details so that would mean that web app itself would require a user entry? Does this make sense? Cheers |
Messages In This Thread |
CI and Phil Strugeons REST API - by El Forum - 11-15-2009, 04:48 PM
CI and Phil Strugeons REST API - by El Forum - 11-16-2009, 04:53 AM
CI and Phil Strugeons REST API - by El Forum - 11-16-2009, 06:51 AM
CI and Phil Strugeons REST API - by El Forum - 11-16-2009, 11:39 AM
CI and Phil Strugeons REST API - by El Forum - 11-17-2009, 08:44 AM
CI and Phil Strugeons REST API - by El Forum - 11-17-2009, 01:49 PM
CI and Phil Strugeons REST API - by El Forum - 11-17-2009, 05:23 PM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 08:58 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 09:24 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 10:35 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 10:50 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 12:09 PM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 03:28 AM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 04:06 AM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 04:13 AM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 04:23 AM
CI and Phil Strugeons REST API - by El Forum - 02-05-2010, 08:28 AM
CI and Phil Strugeons REST API - by El Forum - 02-19-2010, 05:15 AM
CI and Phil Strugeons REST API - by El Forum - 02-25-2010, 04:17 AM
CI and Phil Strugeons REST API - by El Forum - 07-21-2010, 07:10 AM
|