You are here: Re: Newbie on permissions: ADO.NET, C++.NET, SQL SERVER 2005 EXPRESS, Visual Studio 2005 « MsSQL Server « IT news, forums, messages
Re: Newbie on permissions: ADO.NET, C++.NET, SQL SERVER 2005 EXPRESS, Visual Studio 2005

Posted by raylopez99 on 03/30/07 09:30

On Mar 29, 3:03 pm, Erland Sommarskog <esq...@sommarskog.se> wrote:
> raylopez99 (raylope...@yahoo.com) writes:

>
> Do I understand this correctly that you want your user to have heavy
> perms when connected through VS and your application, but not when it's
> connected through Management Studio? There is no way you can assign
> permissions per application. Permissions are per logins and users.
>
> Of course, it's a legit requirement that a user should only be able to
> access objects in the database through the application, as the application
> then can control what the user can see and update. There are a couple of
> ways to implement this requirement. The method that has been most tested
> and rried is to use stored procedures. There are several ways that
> permissions can be granted through stored procedures, whereof the most
> useful is ownership chaining. If all stored procedures and tables are
> owned by dbo, the users only need execute permissions to the stored
> procedures.
>
> There are ways to handle this without stored procedures, but I am less
> of fond of these methods.
>

Thank you Erland. I see the problem is not as simple as I thought. I
also see I have two problems: one is what you addressed, the other is
more simple: how to use VS2005 from an account other than
"Administrator" when working on databases. So far I've not been able
to figure out this, and only use "Adminstrator" to code. This simple
question can be answered by an experienced user of VS2005, and is to
an extent a trivial question since I can do programming in VS as
"Administrator" (it's annoying to switch users using Windows XP Pro,
but it's only an annoyance, nothing more).

THanks for your help,

RL

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация