Question David Underhill · Aug 23, 2022 Interoperability Production Credentials Password storage Credentials for a Productions are stored as plain text in ^Ens.SecondaryData.Password and exposed as plain text via SQL table Ens_Config.Credentials which is not ideal as only admins should know the credentials. I can create my own adapter etc... to store and use encrypted passwords but does anyone know if there is a standard way to do this in a Production? Alternatively, am I missing how to secure this so the production can run and someone can monitor and operate a production without access to the SQL table or global? #Authentication #Encryption #Interoperability #Security #Caché #Ensemble #InterSystems IRIS 0 2 1 351
Question David Underhill · Jul 28, 2020 Explicit FTPS in Cache We use the %Net.FtpSession class to perform FTPS file transfers. This has worked fine with Implcit FTPS servers but crashes when trying to connect to an Explicit FTPS server. Explicit FTPS has a slightly diffferent negotiation in the intitial connection and different ports. Has anyone gotten Explicit FTPS working with the Cache classes? #Data Import and Export #FTP #Caché 0 2 0 451
Question David Underhill · May 12, 2020 How does Enslib.FTP use %Net.FtpSession for file listing? I have been using %Net.FtpSession and while it works, its handling of file/directory listings from an FTP server is less than ideal and, while this is due to the FTP protocol itself, the class could be written to handle this as would an FTP client such as FileZilla and command line/class FTP handlers for other languages. I was wondering if anyone knows how the Ensemble adaptor works with this in case it provides code that would help, though the source does not seem to be available. Below are the issues I see in FTP, some are based on past experience writing our own FTP handler in the past #FTP #Ensemble 1 2 0 397
Question David Underhill · Jan 14, 2020 %CSP.Rest custom headers I would like a REST client to be able to send a custom header with the http request, for example "APPLICATION-ID". This can be seen in the CSP gateway trace but I have tried using %request.GetCgiEnv("HTTP_APPLICATION-ID") in various formats and parts of the classes but cannot work out where I can get this. Documentation says this should work but is for normal CSP pages. Any ideas? #Caché 0 6 0 322
Question David Underhill · Oct 18, 2019 Deploying code to production site I was hoping for some input on the best way to deploy code to site with the following criteria: - No source code, only compiled code to be deployed. - Classes and Routines are part of the application. - Data and code reside in the same database. - Deployments might be partial updates (i.e. cannot just send a complete CACHE.DAT). At present the idea is just to export the .obj, any suggestions? #Caché #InterSystems IRIS 0 2 0 354