Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #640

Re: SQL2008 shared hosing login permission

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver
Subject Re: SQL2008 shared hosing login permission
Date Sun, 04 Sep 2011 00:07:09 +0200
Organization Erland Sommarskog
Lines 28
Message-ID <Xns9F5613696A9CYazorman@127.0.0.1> (permalink)
References <sbs367h29d9e9a8lpqiis6kp56bu0fr170@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
Injection-Info mx04.eternal-september.org; posting-host="yvIcdztzdxdx6itHbP/zNQ"; logging-data="27863"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/W8l0KRW4W+nOpTzSkgUtg"
User-Agent Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32)
Cancel-Lock sha1:E3j+0RBrVAQHUeFmJAT/ZuM6xV8=
Xref x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:640

Show key headers only | View raw


Antony (antony.kll@hotmail.com) writes:
>     Cannot find the user 'dbo', because it does not exist or you do
> not have permission.
> 
> I found that the sql that generate the error is:
> 
>     CREATE ROLE [aspnet_Membership_BasicAccess] AUTHORIZATION [dbo]
> 
> I have seen that adding on database the db_owner rolemember for
> userlogin the problem is solved but this feature is not included in
> the microsoft documents for shared hosting I think for security
> reason; 

I'm unfmailiar with the documents you refer to, but if you want to
create roles and users, you will need sufficient permission for
this. That is, membership in db_owner or db_securityadmin.

Note that the application should log in with db_owner, but the application
should not create users and that.


-- 
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Find similar


Thread

SQL2008 shared hosing login permission Antony <antony.kll@hotmail.com> - 2011-09-03 11:21 +0200
  Re: SQL2008 shared hosing login permission Erland Sommarskog <esquel@sommarskog.se> - 2011-09-04 00:07 +0200

csiph-web