Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > accessing local resources

Thread Tools

accessing local resources

Posts: n/a
I have a web application that is forms authenticated. From one of the web
forms in this application i invoke a web service. One of the web methods in
this web service accesses database, gets the data ( report data ) and a .pdf
out put is generated. The reporting engine used is data dynamics. Once a .pdf
is generated, it has to be put in a location say "c:\Temp\MyReports".

The method, that is reponsible to push the pdf into this location tries to
create the folder "MyReports" if it does not exist. Now since by default, the
user account under which the application ( ASP.NET ) runs is under ASP_NET
account, this user does not have more privilages. So this fails to create the
directory under the specified location. Now if a person ( who logs into the
windows domain ) running the application is added to the administrative group
in the web server, i think this works, but since the application is accessed
by lot of uses in the local intranet, not all can be added. Also
Impersonation is strictly turnd off by policy followed locally. Now how do i
go about allowing the forms authenticated user who invoked the web service
create the folder "MyReports" if this does not exist. I do not want to use

Reply With Quote
Posts: n/a
I'm sure there are many other ideas out there but here are my 2 cents.
If you don't want to use impersonation, then grant the rights to the
aspnet account to create folders within a single directory. You will
also need to set permissions to allow the process to write the pdf
output to the directory as well. That should solve your problems.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
py2app question: Resources/Python -> Resources/lib/python2.4 Russell E. Owen Python 0 09-08-2006 08:08 PM
Accessing local resources Ganesh ASP .Net Web Services 1 08-30-2006 09:10 PM
Setting the Page Title using local resources for a content page in a master page Laith Zraikat ASP .Net 3 07-06-2006 01:23 AM
Cisco PPTP VPN - default gateway (sharing local and VPN resources) Jim Willsher Cisco 1 05-05-2006 02:02 PM
Cannot access local resources behind pix 506e Jamie M Cisco 1 07-29-2004 06:44 AM