Re: The "Best Practice" for securing my vb.net/SQL connection.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Ammer,

Okay, I think my original understanding was basically correct.

Users will not be able to bypass the security built into the end client by using the SP to run select and update statements at will, because they cannot alter the stored procedures (as you would not have added them to a group which can alter procedures).

They will be able to execute the existing SPs however, thus bypassing any front-end validation your client application does. If this is your concern then I guess you'll have to employ one of the methods you outlined earlier.

Sorry that's not much help!!

Cheers,

RB.

Ammer wrote:
By tamper I mean. Bypass the security built into the end client by using the SP to run select and update statments at will. I don't think its a moot point though. Its the data people want to protect not so much the passwords.

What do you mean "login tamper" with an SP?

If you only give users Execute permissions on stored procedures and no other permissions, I don't really see what they can do to break things. Yes, they may be able to see other accounts, but I assume they won't have passwords to those accounts, so I think it's a moot point.

From Books Online:
"ALTER PROCEDURE permissions default to members of the sysadmin fixed server role, and the db_owner and db_ddladmin fixed database roles, and the owner of the procedure, and are not transferable."

So they will not be able to alter your stored procedures...

Not sure if any of that helps - I feel I've misunderstood your question, but I'm not sure where!!

Cheers,

RB.

.



Relevant Pages

  • Re: Data hiding
    ... We're not using stored procedures either.You remove SELECT permissions from ... > Hi Jeff! ... and no client changes are needed. ...
    (microsoft.public.sqlserver.server)
  • Re: DDL Permissions - CREATE PROCEDURE, but no CREATE TABLE
    ... Sorry, you are correct, I misread the original message. ... if you want this person to use the dbo user. ... > reponse is angled towards data access permissions. ... > to CREATE, ALTER, or DROP tables or other objects. ...
    (microsoft.public.sqlserver.security)
  • Re: permissions resetting on a View
    ... you run the sp_refreshview it appears to keep the permissions on a view. ... If you really want to create or alter a view via a stored procedure you can ... "Terrell Miller" wrote in message ... > delete the view and recreate it? ...
    (microsoft.public.sqlserver.server)
  • Re: How to determine if a user has a permission programmatically?
    ... I need to determine in advance if a user logged on to SQL Server 2005 can ... sp_addrolemember and ALTER LOGIN). ... determine programmatically if a user has specific permissions (ALTER ANY ...
    (microsoft.public.sqlserver.security)
  • Re: "Your system has no paging file"
    ... > Your system has no paging file, or the paging file is too small. ... But, to help, did you alter the permissions on the C: ... Microsoft Windows MVP - Windows Server - Directory Services ...
    (microsoft.public.win2000.dns)