For my project I had a typical requirement wherein we were supposed to save PDF file generated on a separate server location which was outside the context of our web-directory. After searching through internet and asking some non-related questions [Please Read], it clicked me about impersonation and I came across this site. Click Here
Its not rocket science to achieve this especially when entire science is encapsulated for you by MS Guy.
Note: Never impersonate a powerful login id for entire web-site, use it as and when required and remove it. If you do not follow this there's always possibility of malicious code running against that powerful.
So, what you have to do for impersonation to work is create a less powerful login id and assign it access to shared folder where file needs to be saved and give everyone Read access.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment