What Raj says is correct. However, you should consider whether you really need to do this. Normally, you would want ColdFusion accessing the datasource using a login with limited permissions -- generally the ability to read and write to the database. If you use a login with admin privileges on the database, you open yourself up to the possibility of hacks through your Web pages that might execute all sorts of dangerous commands. And while there are ways to prevent most such attacks, using an admin login is still not what one would call a "best practice."
Tom
Main Topics
Browse All Topics





by: raj_Posted on 2006-03-11 at 06:04:31ID: 16162844
1) is this event based? - i mean on some user action u want to execute a xp_ proc, or is it more like something that is not a user action based.
If it is user action based, then as long as the CF login is a part of the sysadmin fixed role, u should be fine