Same user, different permissions? Why?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top