Ask a Question related to ASP.NET Security, Design and Development.
-
The Tech #1
Re: ASPNET Account, Impersonation, SQL Server problem
Does
> this have to be a domain level account?
--------- No, the general mis conception is that it does need to be a
domain account. But, in fact it doesn't. There are a lot of companies
out there that their IT department is not going to create a special
domain account for just to run a small ASP project in two different
boxes.
It works the same as remote connecting to a different machine. Do you
need a domain account for that???? I don't think so.
All you need to do is:
1-Create an Administator user, or an ASP net user in the SQL box
2-Assign read and write privileges to the specific database
3-In the box where you IIS is residing, create the same ASP net user or
admin user with the same password.
4-Give .NET access to the Microsoft.NET folder and the Inetpub folder
5-Modify the machine.config under the <processModel to say
"machinename\user" for user name and for password put down the same
password you have been using on the new user you created.
You should be good to go...
FYI: I did this using a 2000 Server
Let me know if it works for you
The Tech Guest
-
Using LogonUser API in ASP.net with an account other than ASPNet account
I am trying to use the LogonUser API function from ASP.Net. This works fine on my machine which is Windows XP but fails with error code 1314 on... -
"Access is denied" error when running schtasks.exe under ASPNET account in win2k3 server
Hi all, I am trying to run schtasks.exe from asp.net application wich uses forms authentication under ASPNET account. It gives me "Access is... -
ASPNET Account Security Problem - Running a Web Application over a network share
All, If anyone has been following my trials over the last week see(Setting up a Web Application on IIS 5.1 and ASP.Net Security Problems). I'm... -
ASPNET and Impersonation
Maybe someone the aspnet.security group has some other suggestions. Shel -- This posting is provided "AS IS" with no warranties, and confers... -
Impersonation in ASPNET and LogonUser
Have you taken a look at the asp.net security best practices paper? It discusses some of the pitfalls and issues when using impersonation....



Reply With Quote

