Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 Using a Windows domain Account in the connection
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hzaidi
Starting Member

USA
45 Posts

Posted - 09 November 2007 :  16:26:22  Show Profile
My network eng won't allow me to create an SQL Authenticated account for the Forum Database we created. He wants me to use my windows domain account and he configured this account with db owner privilages. I don't know if it's possible but I've been having trouble trying to connect to the server using a windows domain account.

strConnString = "Provider=SQLOLEDB;Data Source=sphsstaging;database=Forum;uid=XXX\XXX;pwd=XXXXXXX" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)

HOw would I do this....

AnonJr
Moderator

United States
5768 Posts

Posted - 09 November 2007 :  16:40:12  Show Profile  Visit AnonJr's Homepage
I'm not sure if you can... but even if you could, it wouldn't be a good idea. Think about it, what would happen if you left the company? The program wouldn't work any more. That's just the tip of the iceburg.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 November 2007 :  17:40:53  Show Profile  Send ruirib a Yahoo! Message
What are you trying to do? Use that account for a Snitz forum? Will IIS use that account too?

The unwillingness not to use SQL Server authentication is just dumb. There is no difference, security wise, between having IIS use a Windows account or using an SQL Server authenticated account. It would be great if people just were sensible enough to think instead of letting themselves be lead by preconceited ideas.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 10 November 2007 :  11:33:03  Show Profile  Send pdrg a Yahoo! Message
Yep, but big orgs often have policies which fit 95% of cases but are applied to 100%.

You should create a domain service account for the db to run under (as startup/system account - make sure the password refresh isn't enforced - this is your Admin's job), and grant whatever privs are required on the db to the IUSR account.
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 11 November 2007 :  10:42:07  Show Profile  Send pdrg a Yahoo! Message
Hmmm thinking about it, it may be preferebale to create a domain/service account for your IIS too, and grant windows domain privs to that account in MSSQL (and all the other things that IUSR has privs for - usually very limited by design). That way you can switch IIS boxes without worrying about having to maintain db accounts.

My 2p again...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07