473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Moving Web App from 1 PC to 3 Servers!

Hi,

I've got a c#.net web app that uses SQl Server 2000. It all works very well
on my Development PC, but now I've got to install the app onto some real
servers. I have 3 servers: 2 for the web app and one for the SQl Server
database. The 2 web servers connect to the same SQL server. I have 2
webservers for resilience.

Currently, the SQL Server db has lots of stored procedures, each of which
has granted exec permissions to the machine's ASPNET user account.

My question is, how can I set up the stored proc permissions now that the
web app is accessing the db from another machine (or two!)? What user do I
create?

A second question is... is it ok to have ASPNET with Exec permissions on the
stored procedures from a security perspective? Is that how it is usually set
up?

Thanks!
--
Nirbho
Nov 19 '05 #1
1 1185
Hi Nirbho:
One option is to use mirrored local accounts. This is easy to setup
even when your production environment is not on a domain. The web
servers and the database server then will all have local accounts with
the same password. This allows the database server to authenticate the
incoming credentials:

See:

http://msdn.microsoft.com/library/de...SecNetHT01.asp
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 9 May 2005 08:27:38 -0700, Nirbho
<Ni****@discussions.microsoft.com> wrote:
Hi,

I've got a c#.net web app that uses SQl Server 2000. It all works very well
on my Development PC, but now I've got to install the app onto some real
servers. I have 3 servers: 2 for the web app and one for the SQl Server
database. The 2 web servers connect to the same SQL server. I have 2
webservers for resilience.

Currently, the SQL Server db has lots of stored procedures, each of which
has granted exec permissions to the machine's ASPNET user account.

My question is, how can I set up the stored proc permissions now that the
web app is accessing the db from another machine (or two!)? What user do I
create?

A second question is... is it ok to have ASPNET with Exec permissions on the
stored procedures from a security perspective? Is that how it is usually set
up?

Thanks!


Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: GuyInTn | last post by:
Hi all, I have been given the task of moving an sql database from one server to another. These servers are not on the same network. I know I can detach the database, copy it to a new location,...
0
by: Mirko Slavko | last post by:
Hi, I have to move two MS SQL 2000 servers from Win 2000 Domain to Windows NT 4.0 domain. This servers have transactional replication set between on one database. Does anyone have detailed...
4
by: LaSalamandra | last post by:
have a dedicated web server with Win2000 and CF MX Server. I always used ACCESS databases. Now, I bought a space under a MS SQL Server and I'm moving all my databases there. Today I moved my...
3
by: MartyNg | last post by:
I have been looking online for pointers, and read mixed things. I was hoping if I post direct questions here, I could get some solid answers. I work for a small company with less than 10 web...
2
by: Paul Wagstaff | last post by:
Hi all Our organisation is moving form Win NT / full version of Acc 97 to Win XP / run-time version of Acc 03 (as part of Office 03) for the users. We have heaps of mdbs on the servers - some...
8
by: rick | last post by:
Hi I m trying to move only stored procedures from one database to another and also onto a database on another server, I tried db2 -x "select text from syscat.procedures where procschema =...
26
by: Bookham Measures | last post by:
Hello We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session...
224
by: Jon Slaughter | last post by:
Sorry for all the cross posting but I'm interesting in getting a serious discussion about how usenet has become lately. Many people are moving away from usenet because of all the spam and cooks...
1
by: gar598 | last post by:
I don't have much experience moving these types of site, but we're changing sites, and I've been asked to move the site to a new server. It's your typical setup Windows server, ASP.Net 2.0., a few...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.