Restrict Login Access By Hostname/ip Possible?

Oct 2, 2007

In SQL2005, is it possible to restrict incoming sql or windows authentication logins by source hostname or IP address? Perhaps using endpoints?

We are currently using hosts file on the db server as a temporary solution, but the SA will not allow us to use this as a permanent solution.

The app team I support is asking me to build an "idiot proof" database so that an Dev or Test app server they may configure, doesn't unintentionally connect to the Production database and damage/alter data.

Don't worry, I've already asked if they can't follow some kind of M&P's to prevent this kind of silly behavior, but they insist on DBA team creating a bullet-proof database that can outsmart app developers who try to attempt something dumb like this.

Any ideas or suggestions would be greatly appreciated.

TIA,
Phil

Phil Streiff

View 2 Replies


ADVERTISEMENT

Restrict Login To One Instance

Jul 20, 2005

Hello All,I'm using SQL Server 2000 and wish to restrict the user login to oneinstance only. Is this possible? Is this wise?

View 3 Replies View Related

Need To Restrict A Login To See Only One Database

Feb 6, 2008



Here is what I need to do, maybe someone could tell me what to do.
I need to create a login (I got that part) and then limit that login to only be able to see one of the databases on the server. So this is what I'm looking for.

user1 logs in to the server
user1 can only see the database I want them to see
and can not see anything else, no msdb, no tempdb, no security, no management etc.
I also need this user to be read only (only able to run select statements)
and this user will not be the owner of the database

Please help i'm pulling my hair out

Thanks Ahead of time

View 8 Replies View Related

SQL Server 2000: Block Access From Hostname

Apr 8, 2008



Is possible block access to sql server database, from hostame (pc name). I know only the hostname and not the user.
Is possible?


Thanks

View 1 Replies View Related

RESTRICT FILTERS BASED ON USER LOGIN

Jan 18, 2007

I am using a SSAS cube as my data source for my reports. I have set up the roles on the cube and that works fine.

However, in my reports I want to be able to restrict the report filters based on the user that logs in.

E.G. we have a list of users from different countries. if a user from the US logs in then the country filter should have only USA in it. If a Japan user logs in then the country list should have only Japan.

Currently, the country filter still has all the countries but the logged in user can only get data for his country. I want that list to only be populated with user country only.

I think it has something to do with the dataset that is populating the country list but I have no idea as to how to fix it.

Any help will be appreciated.

View 1 Replies View Related

Cannot Access Report Manager Website By Hostname, Only By IP Address...?

Jul 26, 2007

Hello all - this has now happened to me on a few occasions (different installs, different sites, etc.), but my client PCs cannot access Report Manager by the server's hostname (even though I can ping by hostname from the client).

For instance, if I try:

http://ovenserver/reports

I get the infamous "Internet Explorer cannot display the webpage" message.

If I try:

http://10.0.0.20/reports

The Report Manager loads properly without a hitch.

I know I am missing something simple here - can anyone help?

Thanks!

View 10 Replies View Related

Audit Login Fail And Restrict Number Of Atempt

Oct 14, 2003

Hi everybody,
I found 100 entries with milisecond
difference in error log
"Login failed for user 'sa'"

does it look like attack ?

1. Can I restrict number of failed login ?
2. What events to trace in order to get
ip address for for station that trying to login as sa and fail?

Thank you

Alex

View 1 Replies View Related

Data Access :: HostName / Workstation ID Connection String In Excel

Aug 9, 2011

I currently have the following connection string set up in Excel to connect to my SQL db:
 
Provider=SQLOLEDB.1;Persist Security Info=True;User ID=XXXXXX;Initial Catalog=YYYYY;Data Source=SQL;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=PROJMNT1;Use Encryption for Data=False;Tag with column collation when possible=False

 What I would like to do is replace the Workstation ID (which apparently is hard coded?) so that the user's workstation name pulls (%COMPUTERNAME%) so that I can see who is connecting, using what, for how long etc etc.

Is there anyway to accomplish this?

View 5 Replies View Related

Restrict Access

May 28, 2008

Hi

Is it possible to restrict what IP numbers can access a sql server 2005 (can this do done in sql server 2005)?

View 3 Replies View Related

Restrict Access To DB On SQL2K

Nov 12, 2001

Hi,

Is there a way to prevent new users from accessing a SQL2000 db (like to put it into DBO mode) while leaving current users finish their running jobs.

I tried Alter Database and sp_dboptions and both in SQL2000 requires to close all current users. It was working in SQL7 but not in 2000.

Thanks

AAA

View 3 Replies View Related

Restrict MS Access From Accessing SQL

Dec 7, 1999

Is there any way of not allowing users with MS Access from using it to connect to a SQL 7 server? Basically, no connection to SQL through MS Access should be allowed. Any ideas?

View 2 Replies View Related

Restrict Client Access

May 27, 2005

Hello Everybody,

I need some help.
When we install the Database at the clients end, the client can see all
the SQL tables, views and stored procedure in the Enterprise Manager.
Is there a way via which you can restrict the client from viewing the
tables in SQL Enterprise manager?

I hope you understand my question.
I would be oblidged if my friends could help me...

Thanks

View 1 Replies View Related

Restrict Access To The C: Drive

Mar 25, 2008

My users have sa rights to our SQL servers. I want to restrict their access to the C: so that they do not restore DB's there.

I thought at first I could create a Windows user that runs the SQL Service then grant them read rights to the C:. This does not give the user enough rights to start the service.

View 14 Replies View Related

Restrict Access To The C: Drive

Mar 26, 2008

My users have sa rights to our SQL servers. I want to restrict their access to the C: so that they do not restore DB's there.

I thought I could create a Windows user that runs the SQL Service then grant them read rights to the C:. This does not give the user enough rights to start the service.

View 1 Replies View Related

Restrict SA Access & Encrypt Whole DB In SQL 2005

Mar 6, 2008

Dear Gurus,

I need to do the following in SQL Server 2005:

1. Restrict access of user SA to my database

2. Encrypt contents of the whole database. Is there anything available in SQL Server 2005 (server or DB settings) which encrypt the contents. I do not want to explicitly encrypt individual columns !!

Thanks in advance
Anjum

View 3 Replies View Related

SQL Security :: How To Restrict Data File Access

Aug 23, 2015

We have a situation where we need to restrict access to a sql server data file. That is, to prevent users viewing any tables, stored procedures, etc, in sql server or another tool. We are providing a our database as part of an application install to a customer's site which will run isolated on the customers network. However the application will have sql server logins and the system must still be able to execute stored procedures.

The setup unfortunately cannot be changed and we are trying to think of best implementations for this. Our customers are also working with competitors so we are very conscious about exposing our data structures to anyone outside of our company, hence trying to restrict access. If deployed to a sql instance on the customer site then they will have database administrator accounts on the server.

View 8 Replies View Related

Restrict User Access In MSSQL 2000

Apr 5, 2006

Hi,

I have few SQL user who has permissions on different databases. When they are accessing MSSQL server from Enterprise Manager they can see all Databases but can not access them and they can change file size allocated to them. I want to restrict this and they can only see database belongs to respective user and restrict user to change allocated size. Please help me with this as I am not able to find the solution.

Thanks & Regards,

Gaurav

View 1 Replies View Related

Site-Wide Security: Restrict Access

Feb 27, 2007

Hi,

I have added several Active Directory groups and set the system roles for each to "System User" and set one of the groups (DBAdmin) to "System Adminstrator"

My issue is that even after doing this, the users in the other groups are able to access the "Configure site-wide security" link under Security and change the permissions. The only system permission these users have is "View shared schedules" so it doesn't seem that this should be possible.

I would appreciate any feedback on this issue. Thanks!

View 1 Replies View Related

DB Design :: How To Restrict Multiple Access To Same Database

Sep 16, 2015

I have a single database and 5 user which use this database for DDL and DML operations.

The problem we are facing here is, every time a user need to do some work in this database he/she had to ask(manually) to rest of the 4 users whether they are doing some task over the same DB or not. Sometime due to communication gap one user open any transaction which creates a deadlock for another user to execute any query over the same tables in this DBI want to get rid of this problem by making it configurable from SQL Server part so that if any user which is already accessing this DB, so the other user don't get access to it,  kind of Mutually exclusive behavior.

How to do this.

View 2 Replies View Related

How Do I Restrict Access To The Report Servers Header From Users

Jun 16, 2007

Hi

I'm looking to deploy some SQL Server reports and I want to restrict the access that the users have. Currently when connecting to the reports site they have access to a lot of functionality through the header bar, for example
- Properties
- New Folder
- New Data Source
- My Subscriptions
- Site Settings
- Search
etc.

How can I disbale or hide all these options so that all the user sees is the list of reports?

Thanks in advance

Mark

View 1 Replies View Related

I Want To Restrict The My Clients To Access Database Through EnterPrise Manger Or Quer Analyser

Jul 20, 2005

Hello AllI am using SQL server 2000 as the backend of my application but don'twant my clients tobe able to view or edit the database tables, storedprocedures , view etc using enterprise manager or query analyser (orsimilar tools)How can this be done ?I searched a lot for this but unable to get the correct answer isthere anybody to give full solution regarding this.Please relpy me as early as possible

View 2 Replies View Related

SQL 2012 :: Allow User To Select Data Through A View But Not Restrict Access To Underlying Table?

Sep 29, 2015

I have two databases DB1 and DB2 DB1 has a source table named 'Source' I have created a login 'Test_user' in DB2 with Public access. I have also created a view named 'Test_view' in DB2 which references data from DB1.dbo.Source

How can I do the following: AS A Test_user

SELECT * FROM DB2.dbo.Test_view --Should work

SELECT * FROM DB1.dbo.Source --Should Not work

View 2 Replies View Related

Transact SQL :: Allow A User To Select Data Through A View But Not Restrict Access To Underlying Table

Sep 29, 2015

I have two databases DB1 and DB2 DB1 has a source table named 'Source' I have created a login 'Test_user' in DB2 with Public access. I have also created a view named 'Test_view' in DB2 which references data from DB1.dbo.Source

How can I do the following: AS A Test_user

SELECT * FROM DB2.dbo.Test_view --Should work

SELECT * FROM DB1.dbo.Source --Should Not work

View 3 Replies View Related

Restrict Report Builder Access To Report Execution Timeout

Nov 22, 2006

I am setting up the SQL2005 reporting service to let users build their own reports on the web. I'll provide them with pre-built report models. We have concern with SQL database performance by allowing users to execute huge reports. The problem that I have is: If I give the users permissions to build report they'll have access to the report's Properties | Execution page, which allows them to disable the report execution timeout. Is there a way for me to allow them build reports while restrict them to access the report execution timeout settings?

Please advise. Many thanks.

View 1 Replies View Related

How To: Determine If Current Windows User Has Login Access, Database Access And If They Are A Member Of A Specific DB Role.

Mar 25, 2008


I need to determine the following about the current authenticated Windows domain user who is trying to access a SQL Server via a trusted connection.

1 Has the current user been granted login access to the trusted SQL Server?

2 Has the current user been granted access to a specific database?

3 Is the current user a member of a specific database role such as (DB_ROLE_ADMINISTRATORS)?

Thanks,
Sean

View 6 Replies View Related

How To Get Hostname

Sep 3, 2004

We are using sql server 2000

Problem:
========
A few records in a particular table are getting updated with incorrect values everyday somehow by some process. No one is manually changing these records.
Every morning I query the database and fix these records. But somehow they again get set to the incorrect values.

So I want to figure out how this is happening. I'm thinking of creating an update trigger on that table. And whenever this update trigger is fired, check the modified record's id and if it is the problematic record, then get the hostname, username, processid which is doing this update.

Can someone give me ideas on how to get the hostname, username.

Any other ideas are also appreciated

Thanks in Advance!

View 2 Replies View Related

Hostname

Sep 27, 2001

Hi everyone,

ON SQL 7.0

I want to capture hostname of the client computer making changes to a table on the server. I tried to use sysprocesses table, but the max(last_batch) column is giving the datetime and hostname of previously ran query. I need to find the hostname of the client who is making change at that instant of time.

Can anyone help me.

Thanks

sekhar

View 4 Replies View Related

Hostname

Jun 18, 2008

Hi,

Question:
How do I get the hostname from the instance name please?

My present design at present is something as follows:

We have several sql server 2005 machines
i.e.
ServerSQLA, ServerSQLB, etc....

Each machine may have one or more instances,
i.e.
ServerSQLAinstace1
ServerSQLAinstace2, etc...

The server name in this case is ServerSQLA

Instance naming and node convention is different for clusters

i.e.
C_ServerSQLAinstance1
C_ServerSQLAinstance2

on the node(s):
N_ServerSQLA or N_ServerSQLB


Thanks

View 6 Replies View Related

Use Of Hostname

Sep 9, 2007

Hello

Can anyone explain how HOSTNAME works?

I have problem with identitys when subscriptions uploads new inserted data, I need somehow create a partitions for each user. All user need exactly the same data (now 10 user but in future about 100 users).

In the database is 116 tables and still growing. Because this is a project i working with.

My system is a one Server, one publication and server is acting as its own distibutor, and multi users

I have really problems with conflicts plz somebody help

View 1 Replies View Related

Last Access Time For SQL Login

Jun 22, 2001

Is there a way to determine the last logon time for a given SQL Login?

View 1 Replies View Related

How To Get Hostname Via SQL Command?

May 21, 2004

Hi!

Can something tell me how I can obtain the machine name (either IP address or DNS name) on which SQL Server is running via a SQL query?

select @@version returns a lot of useful information, however it doesn't return the host name.

thanks in advance
- Garry

View 8 Replies View Related

HostName And ReinitializeSubscription

Apr 28, 2006

Hello all,

I'm having trouble with my Merge Replication setup in regards to changing the HostName property of the SqlCeReplication object. As we all know, if you modify the HostName value, you must then call the ReinitializeSubscription(true) method before calling Synchronize(). Unfortunately, this isn't working for me. Following this sequence of steps consistently results in error messages saying that I need to either call ReinitializeSubscription, or change my HostName back to it's original value. Has anyone ever experienced this problem?

Regards,

Rob Tiffany

View 5 Replies View Related

How To Get SQL SERVER Login Name From Access Project

Aug 14, 2000

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved