I'm trying to programatically make a connection to a windows share. So far, so good. I just use the WNetAddconnection2 API. Let's me pass userid, pwd, etc. Now I've been given the requirement that this connection be SSL. I can't find any information anywhere about being able to do this. WNetAddConnection2 certainly doesn't support doing so. Do I need to create a tunnel some other way and piggy back on it?