Does ObjCMongoDB support SSL connection? - objective-c

I have to create an iOS client using MongoDB and I need to secure the connection. I'm considering ObjCMongoDB library to do it because the interface is in Objective-C.
Can we use the ?ssl=true option in the MongoDB URI as described there?

Sorry, nope, not at this time. The Legacy C Driver has no SSL support, and as far as I'm aware there are not yet any Objective-C bindings for the new C driver.

Related

Can you connect to a database with just HTTP?

Awhile ago I was looking around for SQL connectivity with my embedded devices and people recommended not to use ODBC because it would not be able to maintain a constant connection if it were wifi etc. So they recommended I just connect using HTTP requests for data-entries etc. So is this possible and if so what do the requests typically look like?
Btw I would use SSL/TLS for encrypted connection because plaintext over the internet is a nono.
Also this would help because all I have learned was microsoft's ODBC library and I relied on it a lot because now I don't know how to connect to MySQL database from Linux as I have not seen a C++ odbc library, so learning the HTTP way would make it more universal.

SSL/TLS support in Kaa with ESP8266

I am new to Kaa and is trying to implement a Kaa based solution with ESP8266. I want to know if it supports SSL/TLS sockets for communication. If not, is there any way to make communication secure (like starttls).
I am currently programming ESP 12E (A variant of ESP8266) using Arduino IDE. Is there any way for me to send data directly to a Kaa installation through secure communication?
Thanks is advance!
Starting from Kaa 0.10, the C SDK uses a hybrid RSA+AES encrypted connection by default.
See KAA-635 for more details.

ios backup using http

I've spent hours now looking for an answer to this question and I can't seem to find it anywhere.
Are there any tutorials or sample code that help with setting up an http connection so that a user can use the browser to save the application coredata sqlite file to the desktop and/or send a previous sqlite backup to the app?
Thanks in advance.
You can use the Cocoa HTTP Server. I have used it before, and it works great.
It has:
Built in support for bonjour broadcasting IPv4 and IPv6 support
Asynchronous networking using GCD and standard sockets
Password protection support
SSL/TLS encryption support
Extremely FAST and memory efficient
Extremely scalable (built entirely upon GCD)
Heavily commented code
Very easily extensible WebDAV is supported too!

MSXML2.ServerXMLHTTP with SSL3?

Using VBScript, want to talk to a HTTPS website but it fails with:
The client and server cannot
communicate, because they do not
possess a common algorithm
Found out this is because it needs to use SSL3. How can I tell it to use SSL v3?
Thanks
ServerXmlHTTP relies on WinHTTP, which supports SSLv3. See the WINHTTP_FLAG_SECURE_PROTOCOL_SSL3 in the documentation. What version of MSXML are you using? You may want to try using one of the later versions. See the documentation on ProgID information.

What is a socket library?

While reading about OpenSSL I've stumbled upon sentence: "It would be nice if security was as
simple as linking in a different socket library when building a program".
What is this mentioned socket library? What is it used for (i.e. in Java or C#)?
A socket is the endpoint of an Internet connection. A socket library is a library that implements sockets so that you can use them in your program for Internet communication.
What the text suggests is that it would be nice if you could replace your regular socket library (which would be for example a DLL on Windows) with a different version, which would automatically add SSL functionality for secure, encrypted connections - but adding SSL functionality is not as simple as that.
In Java or C#, you wouldn't use such a library directly. Java for example has classes in its standard API for working with Internet connections. You'd use that API in your Java program, and the JVM will use the socket library that the operating system provides to do the actual communication.