D
Darrel
I've been having problems trying to delete a file. I can upload and save the
file no problem, but deleting it gives me two results:
If I run the delete function from my app's unprotected (public) root folder,
it works just fine.
If I run the delete function from my app's forms authenticated directory, I
get promted for a usr/pwd and then get a 'permission denied'
Both functions are deleting the same files. The files are located outside
the authenticated folder.
Both functions return the exact same user information:
Page.User.Identity.Name: testlogin
System.Security.Principal.WindowsIdentity.GetCurrent().Name: WIN17\abernath
System.Threading.Thread.CurrentPrincipal.Identity.Name: testlogin
So, I'm completely stumped. It appears to be the same user but it's ending
up with different permissions.
-Darrel
file no problem, but deleting it gives me two results:
If I run the delete function from my app's unprotected (public) root folder,
it works just fine.
If I run the delete function from my app's forms authenticated directory, I
get promted for a usr/pwd and then get a 'permission denied'
Both functions are deleting the same files. The files are located outside
the authenticated folder.
Both functions return the exact same user information:
Page.User.Identity.Name: testlogin
System.Security.Principal.WindowsIdentity.GetCurrent().Name: WIN17\abernath
System.Threading.Thread.CurrentPrincipal.Identity.Name: testlogin
So, I'm completely stumped. It appears to be the same user but it's ending
up with different permissions.
-Darrel