To grant access to a protected directory use " impersonate" or " LogonUser"?

J

Johannes Hammersen

Hi there,

I have a page that needs to grant the user access to a protected sub dir, if
a certain condition is true. The Sub dir is protected through windows
security. So I need to change the users account to one that has permission
to that folder. By searching the web I found " impersonate" and "
LogonUser". I can't figure out which one I would need to use. I can't
display a login screen to the webuser, because he does not know the account
I'm having to use to login.

Thanks for any help.
Johannes
 

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,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top