Ask a Question related to ASP.NET Security, Design and Development.
-
Jarred Sargent #1
Asp.Net and Webservice using Impersonation/App Pools
Howdy All,
I've been having a bit of a problem that I can't seem to get a grip on at
the moment and I'm hoping someone may be able to give me a quick hand :)
What I have is a Webservice that references an EXE file sitting in
c:\windows\system32\ . Now if I use a Windows App and access the webservice
everything goes smoothly.
If I just invoke the webservice by visiting the asmx file in my browser it
throws a SystemAccessDenied error. The line it fails on is where I
instaniate the above mentioned object.
Now if I move the app in to its own App Pool in IIS set my account (local
admin) in the identity tab it works fine. If I leave this as normal and put
impersonation in the web.config file to run as myself the webservice also
works with out any problems.
What I want to do is create another local account (well actually it's going
to be a domain account when I'm finished) and I want to use this account in
the identity/impersonation section.
Obviously the main reason behind me trying to do this is I don't want the
service to run as an Administrator (even local one) and the account will
have integrated security for SQL most probably as a DBO (requirement of
other software we use).
The object itself does use other files in the system32 dir but I've granted
access to all of these files for said user. It also uses other files in the
progrm files\common\microsoft\vfp (I can tell this because of FileMon) but
I've given the user access to all these files as well.
Originally I thought the problem was somewhere in admin tools --> .Net
config --> Runtime Security but I now believe it to be a Windows Security
problem.
I'm really stuck on this one so any help would be greatly appreciated :)
Cheers,
Jarred :-)
Jarred Sargent Guest
-
Application pools are not creating
Hi, We are installing our product through install shield in VMware set up. In some servers application pools are creating but in some servers it... -
IIS 6 App Pools & Jrun issues
Hello, We have a windows 2003 server running IIS6 running Coldfusion 7 Standard. We are having a problem with JRUN crashing every day around... -
Application Pools folder is missing
OS is Windows 2003 Server IIS is version 6 In IIS when I look under the <machine_name>(local computer), I do not have the Application Pools... -
IIS Multiple App Pools w/ Same login
Hi, I recently configured multiple Application Pools within IIS6 using the same login (ASPNET). After doing so and assigning an application to... -
ASMX pages / WebService Apps and ASP.NET Thread Pools
An ASP.NET Performance and scalability related question. Given there are a set of 25 ASMX pages that stand independently (and that don't call...



Reply With Quote

