I am open to ways to solve this problem. I suspect the best way is to submit to the controller the path to be mounted and the controller will then pass back a python script that runs locally and mounts the path. Later we may need to verify Active Directory permissions but that's another question. We are able to configure all clients and servers as we wish, so somehow we should be able to allow the mount script to run after downloading. Only really concerned with mounting on windows but mac is optional. My main concern is how to get the server to send the script and get client to run the script, and if this is the right approach to satisfying this necessity; The second concern is how I form the path to access any arbitrary remote server share and the third concern is checking permissions first. Any help appreciated.
public ActionResult ProjectMountSubmit(string project_path, int project_number) {
//Send mount script to user and make him run it
return RedirectToAction("Project", "Home", new { ProjectNumber = project_number });
}