Question sjbttt sjbttt · Aug 31, 2020 How to set all CLS to read-only by default Just like the title, I want to do code version control. I don't want to change CLS at will, but I don't want to use MakeClassDeployed, I just want to set the cls or mac to read-only and uneditable state。Does CLASS have such property? #ObjectScript #InterSystems IRIS 0 4 0 336
Question sjbttt sjbttt · Apr 8, 2020 How to use Base64 to encrypt a string that exceeds the maximum length of string type Now I want to return a large amount of data to the front end. The string length has reached 40000 +, and the returned data needs to be encrypted by AES + Base64. I can convert the string into a stream. AES can use the AESCBCEncryptStream method to encrypt, but Base64 has no stream method。Anyone who get the solution would you kindly share the solution please。 Any help would be appreciated. Thanks! #Encryption #ObjectScript #InterSystems IRIS for Health 1 10 0 14.4K
Question sjbttt sjbttt · Jan 21, 2019 How can I get the real IP Address? My database service is on the cloud server, and I access it on the company intranet. When I user the %request.CgiEnvs to get "REMOTE_ADDR", but what I have been getting is the company's external address. I can't get my IP address in the LAN. For example, my computer IP address is 192.168.11.11, and my company's external public network address is 214.17.17. I can only get 214.17.17 by using %request.CgiEnvs("REMOTE_ADDR"), but not 192.168.11.11. I only want to get 192.168.11.11. #Caché 0 6 0 1.2K