I'm trying to figure out if it is possible to traverse across drives or shares. If I have a path that is concatenated in a web application, where the prefix is a drive, such as this:
var path = "D:\" + Request.Params["directory"];
Is it possible to use special characters or any other methods to get a reference to the C:\ drive instead of D:\ drive? I've tried pipes (|), semi-colons, URL-encoded nulls (%00), and several other things.
Thanks for any input on whether it is possible to traverse across drives.