Unfortunately, libworkmagically doesn't exist. :) To do something similar at work, I built a system that stores service authentication information in simple config files w/ appropriate file permissions for different users/groups. There's a central area for me to update the authentication for all users, and the changes are pushed out to machines automatically via rsync. Then, when different groups want to run a script that needs certain authentication information, the script tries to read the appropriate service config file, and either it succeeds and off it goes, or the user is given a permission denied error.
In the end, you will have to have this information available somewhere, either hard-coded into the application/script, or in a config file, or by including a file/module, or a database, or ... On Mon, Apr 6, 2009 at 2:56 AM, konqi <[email protected]> wrote: > there are multiple logins for different customers and applications. > I could write the data into a database. But i would have to make sure, > that applications can only retrieve the data they are allowed to. > I don't want application A for customer B be able to mess with the > data of customer C. > Using a simple database would also require authentication for the > database. Where do i get the auth-data for the database from? > This would just change the point where i have to authenticate - but it > don't want to have applications authenticate anywhere to get the > necceccary data. > The required information should *magically* be available for use, for > example by distributing the data beforehand. > Also a database query to a remote server could become a problem since > the db-server would have to be open for all kinds of requests. > Though that problem could be solved using a virtual private network. > > What I basically want is the application to know all required login > information without ever having to authenticate anywhere. > I'm not sure a solution to this problem exists (yet) since i haven't > found anything despite excessive google use. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
