473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

sql server role

I'm hoping someone can poing me to a good resource on this topic

Inside of my vb app, a user logs into a sql database. I'd like to find our which roles he is a member. I would use this to determine which functions to disable

1) Is this a proper way to handle security (the roles in SQL would already disallow writing... the presentation layer would simply not allow functions that would cause SQL Server to give permission denied errors), or is there a better way
2) Where can I find more info? I did google searches on 'sql server roles ado vb', but not want I want..

Eric
Nov 20 '05 #1
1 900
Cor
Hi Eric,

I think this is more a question for the newsgroup

microsoft.public.dotnet.security

an SQL newsgroup

or maybe

microsoft.public.dotnet.framework.adonet.

I will not say you do not get here an answer, but the change in those groups
from up to down is I think much more.

I hope this helps?

Cor
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jon Ley | last post by:
I am having a problem restricting write access to tables in my database. In my database I have a table called, for the sake of argument, 'TableX'. In my SQL Server Logins, I have set up a login...
3
by: Noloader | last post by:
Hello, We are using Access Front End (ADP Project) and SQL Server 2000 backend. SQL Server is using NT Security. We do not want the users to access the the underlying tables. So, we went to...
2
by: J.Beaulieu | last post by:
Hi I'll have probably to use sql server soon but prior to that I have a question concerning priviledges and security. Is it possible for someone to do like in access, ie creating a db/table...
3
by: Graeme | last post by:
I want to have an ASP.Net application to connect to a SQL Server database. I can’t use Active Directories or Windows authentication (network security!). So I want to use Forms authentication...
2
by: Edward Estrada | last post by:
I would like to determine if a particular user has sysadmin server role. Is there a way to do this via the connection string? Currently our code checks if a login is valid using SQLDriverConnect,...
2
by: byrocat | last post by:
I am working with a SQLServer installation where all public permissions have been revoked from the system. I currently hold the securityadmin and sysadmin roles to perform my logicall access...
6
by: Russell | last post by:
Hello there, keywords so you can find this message: russell mccloy server forms authentication InvalidCastException not working after login logon We have an issue with Forms Authentication. I...
0
by: Derrick | last post by:
Hello all; This is going to be a bit long...sorry... I am about to start out on a small scale client/server type system. The server will collect data from various sources (custom hardware over...
3
by: Larry Bertolini | last post by:
Experiencing a little weirdness with SQL Server Management Studio... Have created a login, that has fixed server role "securityadmin". The login can create/drop logins, add/remove them as users...
0
by: ctatvasoft | last post by:
in our application that need to create some tables in tempdb. The user (call it APP) is not sa. Everytime that the server need to be rebooted, the db_owner role on tempdb for user APP disappear....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.