PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Grant SELECT on MsSqlSystemResource SQL2005 5th system DB
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Grant SELECT on MsSqlSystemResource SQL2005 5th system DB

Réponse
 
LinkBack Outils de la discussion
Vieux 15/07/2008, 12h25   #1
Sigge Persson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Grant SELECT on MsSqlSystemResource SQL2005 5th system DB

Hi.

I am working with an account that has limited access to the SQL server.
Using Sharepoints API, I am opening a list on a web, and get the following
error.
________
The SELECT permission was denied on the object ‘syscolumns’, database
‘mssqlsystemresource’, schema ‘sys’
________

I now need to find a way to grant this account permission to preforn Select
queries on that database.
The account has Server role 'PUBLIC' only.

the two ways i could think of are :
1) Set a higher server role.
and
2) USE Master GRANT SELECT ON sys.syscolumns TO PUBLIC

But the customer dont want to use those solutions, since it isn't secure
enough.

Any other suggestions on how i can resolve that?
As a note, the mssqlsystemresource is a hidden database that complements the
master db. (it contains stored procedures , views and functions)

  Réponse avec citation
Vieux 15/07/2008, 14h40   #2
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Grant SELECT on MsSqlSystemResource SQL2005 5th system DB

> I am working with an account that has limited access to the SQL server.
> Using Sharepoints API, I am opening a list on a web, and get the following
> error.
> ________
> The SELECT permission was denied on the object ‘syscolumns’, database
> ‘mssqlsystemresource’, schema ‘sys’
> ________


I don't know much about Sharepoint but the error indicates that at least
VIEW DEFINITION is required. This permissions allows retrieval of meta-data
related to database objects.

> I now need to find a way to grant this account permission to preforn
> Select
> queries on that database.
> The account has Server role 'PUBLIC' only.


Check out the db_datareader database role. You can also grant permissions
at the schema level. For example:

GRANT SELECT ON SCHEMA::dbo TO SomeAccount

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Sigge Persson" <Sigge Persson@discussions.microsoft.com> wrote in message
news:0F470155-EF14-4277-9651-202A592DAA1A@microsoft.com...
> Hi.
>
> I am working with an account that has limited access to the SQL server.
> Using Sharepoints API, I am opening a list on a web, and get the following
> error.
> ________
> The SELECT permission was denied on the object ‘syscolumns’, database
> ‘mssqlsystemresource’, schema ‘sys’
> ________
>
> I now need to find a way to grant this account permission to preforn
> Select
> queries on that database.
> The account has Server role 'PUBLIC' only.
>
> the two ways i could think of are :
> 1) Set a higher server role.
> and
> 2) USE Master GRANT SELECT ON sys.syscolumns TO PUBLIC
>
> But the customer dont want to use those solutions, since it isn't secure
> enough.
>
> Any other suggestions on how i can resolve that?
> As a note, the mssqlsystemresource is a hidden database that complements
> the
> master db. (it contains stored procedures , views and functions)
>


  Réponse avec citation
Vieux 15/07/2008, 16h06   #3
Sigge Persson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Grant SELECT on MsSqlSystemResource SQL2005 5th system DB

Thanks.
This will probably solve my problem, i'll give it a try tomorrow.

Thanks for the .

"Dan Guzman" wrote:

> > I am working with an account that has limited access to the SQL server.
> > Using Sharepoints API, I am opening a list on a web, and get the following
> > error.
> > ________
> > The SELECT permission was denied on the object ‘syscolumns’, database
> > ‘mssqlsystemresource’, schema ‘sys’
> > ________

>
> I don't know much about Sharepoint but the error indicates that at least
> VIEW DEFINITION is required. This permissions allows retrieval of meta-data
> related to database objects.
>
> > I now need to find a way to grant this account permission to preforn
> > Select
> > queries on that database.
> > The account has Server role 'PUBLIC' only.

>
> Check out the db_datareader database role. You can also grant permissions
> at the schema level. For example:
>
> GRANT SELECT ON SCHEMA::dbo TO SomeAccount
>
> --
> Hope this s.
>
> Dan Guzman
> SQL Server MVP
> http://weblogs.sqlteam.com/dang/
>
> "Sigge Persson" <Sigge Persson@discussions.microsoft.com> wrote in message
> news:0F470155-EF14-4277-9651-202A592DAA1A@microsoft.com...
> > Hi.
> >
> > I am working with an account that has limited access to the SQL server.
> > Using Sharepoints API, I am opening a list on a web, and get the following
> > error.
> > ________
> > The SELECT permission was denied on the object ‘syscolumns’, database
> > ‘mssqlsystemresource’, schema ‘sys’
> > ________
> >
> > I now need to find a way to grant this account permission to preforn
> > Select
> > queries on that database.
> > The account has Server role 'PUBLIC' only.
> >
> > the two ways i could think of are :
> > 1) Set a higher server role.
> > and
> > 2) USE Master GRANT SELECT ON sys.syscolumns TO PUBLIC
> >
> > But the customer dont want to use those solutions, since it isn't secure
> > enough.
> >
> > Any other suggestions on how i can resolve that?
> > As a note, the mssqlsystemresource is a hidden database that complements
> > the
> > master db. (it contains stored procedures , views and functions)
> >

>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14861 seconds with 11 queries