This question is based on my attempt to create an application in R that can pull data in from a remote Oracle database via ODBC, but I doubt the answers will be R specific.
I am trying to create an application that several users will use (that I'll call Reporter). The application will pull data from a remote Oracle database that is used by a Corporate application (that I'll call CorpApp) via an ODBC link. The Reporter app will then process the data and produce reports automatically.
The CorpApp has it's own, built in user authentication, and it doesn't use Oracle user accounts to control access (I assume the CorpApp install includes one set of Oracle User credentials in some secret, binary location that it uses).
As R is a scripted language, at the moment the user credentials I use to authenticate to Oracle are either available in the code, or in a data file that R can understand. Currently I am planning that this app will be an R package, probably as an extension to RCommander.
Are there any good ways to ensure that;
- Multiple users can use this application simply ?
- People who aren't authentic users can't access the underlying data ?
- Account details are sent in a secure fashion ?
- The data in the database is secure ?