J
Jeffrey Walton
Hi All,
Does ASP.Net offer any methods to convert physical paths to URLs? I've
seen some stuff on the web via blogs, but the examples look like a
kludge and I suspect there may be hidden security issues.
For example, Physical Path: 'D:\Download', Virtual Directory:
'download'
D:\Download\AAAA\aaaa.aspx ->
http:\\www.example.com\download\AAAA\aaaa.aspx
D:\Download\BBBB\bbbb.aspx ->
http:\\W.X.Y.Z\download\AAAA\aaaa.aspx
Thanks in advance,
Jeff
Does ASP.Net offer any methods to convert physical paths to URLs? I've
seen some stuff on the web via blogs, but the examples look like a
kludge and I suspect there may be hidden security issues.
For example, Physical Path: 'D:\Download', Virtual Directory:
'download'
D:\Download\AAAA\aaaa.aspx ->
http:\\www.example.com\download\AAAA\aaaa.aspx
D:\Download\BBBB\bbbb.aspx ->
http:\\W.X.Y.Z\download\AAAA\aaaa.aspx
Thanks in advance,
Jeff