If someone found out what tables you had in your DB, and the all the column names for each table, could they do any damage to your DB with that information alone, or would they have to have more than that? Or could they use that info as a starting point in trying to hack you DB.
I have posted this issue for a week, haven't got any reply yet, I posted it again and desperately need your help.
The article http://msdn2.microsoft.com/en-us/library/ms365343.aspx says: Model Item Security can be set for differnt security filters, but when I use SQL Server Management Studio to set Model Item Security, it seems "Permissions" property surpass "Model Item Security" property. -- My report server is using Custom Authentication.
For example, in "Permissions" property of the model, if I checked "Use these roles for each group or user account" without setting any user or group, no matter what users I added to "Model Item Security" with "Secure individual model items independently for this model" checked, NO one user can see the model on report manager and report builder;
in above situation, if I added "user1" and gave role such as "Browser" role to "user1" in "Permissions" property, if I checked "Secure individual model items independently for this model" in "Model Item Security" property, even I did NOT grant "user1" to root model and any entities under the model, the "user1" is able to access the model and all entities in report builder.
My question is on the same report model, how to set "AdminFilter" (empty security filter) for administrator permissions and set "GeneralFilter" (filtered on UserID) for general user based on their UserID?
The article also says:
"Security filters are always applied, even for users who have Content Manager or Administrator permissions to the model. To allow administrators or other users to see all rows of an entity on which row-level security is defined, you can create an empty security filter (which always returns True) and then use the filter to grant those users access to all the rows."
So I defined 2 filters "GeneralFilter" and "AdminFilter" for "Staff" entity for my report model "SSRSModel", I expect after I deployed the report model, the administrator users use report builder to build reports with all rows available, and the non-admin users can only see rows based on their UserID.
I can only get one result at a time but not both:
either the rows are filtered or not filtered at all, no matter how I set the "SecurityFilter" for the entity: I tried setting both "AdminFilter" and "GeneralFilter" for SecurityFilter at the same time, combination of "DefaultSecurityFilter" and "SecurityFilter", or one at a time.
Is there any possibility to schedule SQL job execution as Windows Security Group? I need to run powershell script through SQL job with one of this group member's permissions.Â
I have Sql Server Express installed on Vista (service pack 2)
I have Visual Studio 2005 with an application that I'm trying to access it with within a WCF service.
The login ID of the service is added to the database.
The database has remote access turned on.
The ID is granted access to all databases within the server.
The thread is being set with WindowsProvider and the services set their thread to WindowsProvider.
The dataserver is set with using Windows Authentication for security.
When I open my connection to the database, though, it reports the typically useless message that the connection is not allowed and that the server may not allow remote connections.
How to I get past this? I've done everything right.
I want to use an Active Directory security group that is a Distribution List for a new role assignment for an existing report. Can someone tell me if this is possible? I get an error each time I try:
The user or group name <DLName> is not recognized. (rsUnknownUserName)"
I am looking for a way to log all security related events for SQL in Windows Security Log. I am trying to use SCOM for monitoring SQL and I am looking at ways to generate alerts in my SCOM Console for specific events in SQL e.g. A table is deleted, user is modified, deleted, etc. Is this possible and if yes how do I achieve the same?
In an environment where there are many initaitors speaking to a central target with frowarders in between, from what i can understand this best policy is to disable encryption on the endpoints, since dialog encryption will be enforced this is all that is really required, is this correct.
If the endpoints used encryption the message would need to be encrypted and decrypted at each forwarder resulting in slower perfromance, where as dialog encryption would only encrypt at the sender and decrypt at the target, so is this the best way to go?
Secondly is it best practice to open a dialog initally and send messages over this dialog for years never ending the conversation? This way the services only have to authenticate eachother once, if there are no reboots etc that is of course.
I would think performance wise sending each message and ending the conversation each time is a much greater overhead ? So would it be best practice to keep dialogs open and keep sending messages ?
Initally when i was learning service broker i thought that one must send a message and end the dialog until the next message, but i think the other way is the best option ?
I'm designing a distributed application where I will have SQL Server 2005 distributed databases replicating data to my central hub which is again a SQL Server 2005 database using SQL Service Broker. Data will be sent from the central hub to the distributed sites and vice versa. I need to authenticate the communication and also secure the communication by encrypting the messages. Which security shall I use? Where do I configure the type of security being used? What is the difference between transport security Vs dialogue security - Full security model?
Can anybody tell me the advantage and disadvantage to use NT security for SQL Server 7.0? For a corporation with 400 users, what is your recommendation for the SQL Server security management. Thanks.
What's the better security to use? Currently I'm always registering using the Windows authentication. When I'm trying to register using SQL authentication I always get "Login failed for user 'sa'" error....
I have setup a linked server on the same computer but different instances of sql. When I call the sprocs an error occurs... The message is... The OLE DB provider "SQLNCLI" for linked server LINKEDSQL does not contain the table ""product"."dbo"."AccountTable". The table either does not exist or the current user does not have persmissions on that table. I've checked the table "AccountTable" and it does exist. The database exist also which is "product". I also configure the linked server's RPC to "true" and timeout to "200". The linked server is also configured to use a single username and password which exist on the instance of sql that the linked server is connecting. Also, I enabled the instances of sql to allow remote connections and use mixed authentications. The mode of access is that different client pc will call a method created with .NET, which in turn, call the sprocs on the linked server. Should I add all the client pc that will be calling the method? Why I'm getting this error? Help please? Thanks
I would like to trap all of the hosts connecting to one of my sql servers and then determine if one of the hosts is not on my list of approved hosts. If the host is not approved, I would process an alert.
I have written a stored proc that queries the sysprocesses table and then raises the alert. The problem is that sysprocesses only includes entries for the length of the connection. Someone could access the server quickly in between my proc running and I would not capture it. I thought about putting a trigger on sysprocesses to write to a history table but I do not like to put triggers in the master db.
Has anyone tackled this issue before or know where I could get a history of all connections to the sql server?
We have a 3rd Party system running on SQL Server that has presented us with a security problem.
All logins are handled by the application but the end result is each user has an easily identifiable login and password on the sql server box itself.
At a basic level there is nothing to stop a user linking through Microsoft Access and deleting table contents. We could live with that as Access knowledge is very limited.
Unfortunately a couple of developers now have Enterprise Manager and Query Analyzer installed on their workstations and they have already begun poking their noses where they are not welcome. The possiblity of data edits without an audit trail is now much higher.
Is there something I can do to block access?
I have found a stored procedure sp_MSSQLDMO70 in the master database which when execute is denied the user cannot log on through EM but is there anything similar for QA?
Help, they are getting a bit too eager to take my job!!
when u run a job using sql agent, say like a backup job, which security account does SQL use to run the job ? also how does it differ if you execute the same job from the command prompt or query analyzer ?
Hi All, Is there any script/TSQL I can run to list all the users and their access on a database??? I'd like to document all the access on our server. Thanks, David.
When giving access to users, an application they are using will normally update tables correctly.
If the user connects with another product such as Access or Excel, they may be able to make invalid updates.
One way to prevent this seems to be to use Application Secrurity provided in SQL 7.0.
Is there a way to give users read access to tables when they are not using the main application, and update access when they are using the main application?
New to MS SQL, using v7.0. Need a way to allow developers to create, modify, delete stored procedures in a database. I've tried several things but can't seem to get it. Anyone doing this? Do not want to give them dbo, company wants DBA's to have authority for all objects in a database, but developers have only authority on developing Stored procedures. thanks in advance.
I have 30 databases resides on SQL Server 7.o. These databases will be accessed from the outside from 30 different DBA's. How can I eliminate their privileges so they can only work with their own database and see the other databases grayed out?
Knowingly that each of them will have the DBO privilege on their database.
I'm very confused between the server roles, dbo permissions that I can't change.
I have 2 NT workstation 4.0 in a Test_PDC domain. One of the workstation(Test1) has SQL server 7.0 installed. On my other workstation(Test2) I would like to access the SQL Server. My workstations do not log into the Test_PDC domain, they logged on their own domain. I would like for Test2 users to access Test1 SQL Server through ODBC connection without creating an NT user account for Test2 users on Test1 User Manager. Is this possible? Another word, I want to use SQL Server security mode instead of NT.
I need your opinion. If you change default standard security to integrated and forgot register all NT accounts in SQL Security Manager... and no more access to SQL Server. What to do? Thanks, Irana
I Am presently hanging on One Sql server. Now Probably there are lots of user in near future and then if there is some problem with the server which is running. i want to run parallel second sql server which have all information currently having first one.i mean to save second server have all data that much of first server. At the time of failure in first one i automatically want to connect into second server without any problem how can i do all this and also how can i put that server parallel to first one. please tell me as early as possible waiting please
I installed SQL 6.5 using standard security. I would like to change the security to NT authentication. (We use it in SQL 7.0 and works real good). Is it possible to change the security option after installtion? I changed to mixed, (from the configuration panel) but when I create a new login it doesn't give me the option to specify NT authentication. Any ideas????
I would like to create a web form that contain the credit card number. I can use asp or coldfusion. But I want to know how to make the form security. No other people can access it when sending the form to us. Thanks.
I have just started working for a new company, and am looking at the security set up on their database.
It appears to me that whilst they have a table of Users, this has been designed for restrictions set in the front end of the database (VB) rather than to actually use SQL itself.
In the SQL database, there is only actually one User created for the database, and the VB application uses a DSN set up on everyone’s desktop to access it via this one user.
Hence if I wanted to log specific actions taken in the database, by the user who did them, I can’t really find the user, because sp_who and suchlike, only brings up the one user.
Firstly, I wondered if it possible to see what sort of security there is on a database, is SQL Server mode, or mixed mode (using NT), is there a system stored procedure that will tell me that?
And is there anyway that I can implement some sort of mixed mode, so I can obtain at least the users NT security log on, and be able to trace actions back to them?
How to get all the Login groups in a sever those who have permissions to the objects from system tables?How to get db roles from sys tables?how to find out those who r having acess to the db roles from systables?
How to find out the permission or power i have as a user, i mean can i delete the data in the table or drop a table . I dont have access to the enterprise manager, Can i find out.....