IT Community - Software Programming, Web Development and Technical Support

SQL Server 2000 User Properties

This is a discussion on SQL Server 2000 User Properties within the Database Support forums, part of the Web Development category; SQL Server 2000 User Properties I have an application which does all the rights like doing DML operations on a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2009, 01:13 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default SQL Server 2000 User Properties

SQL Server 2000 User Properties

I have an application which does all the rights like doing DML operations on a given user account (‘user-1’). I have created another similar user account (‘user-2’) which has to do only the READ and INSERT operations but not any UPDATE or DELETE operations.

This is on SQL Server 2000.

Now the problem is from the application this particular ‘user-2’ is able to delete and able to update with the images that he use to get in and get out. I have given all access to Server Roles; and only the database which this ‘user-2’ has an access from the ‘User-2’ login properties.
From the Database node, Users I have restricted like revoke Delete and Update permissions to this ‘user-2’ user.

Still I am able to see the Update and Delete operations are able to carry.

Can anyone tell how to stop Update and Delete operations.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-14-2009, 01:14 AM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,

Why did you give all access to server roles? Read Server roles and database roles in Booksonline.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-14-2009, 01:14 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,

Server Roles are required for this application to run, as this is governs at Super user Level.

However, this DELETE is not working as it is still deleting despite being DENY an REVOKE of Delete.



Thanks
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-14-2009, 01:16 AM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,


Question is: what server role you gave to user?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-14-2009, 01:39 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,

All Server Roles.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 05-14-2009, 01:47 AM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi

there are roles which deny certain things as well.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 05-14-2009, 01:47 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,


Thanks so far.

Can you be little specific as I have given every possibility yet what It should happen is User should not DELETE.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 05-14-2009, 01:50 AM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,

You do not need to give all the sever roles.Remove all the roles and try to give the roles at the Database level and test at each stage..Grant the update and select permissions to the user at the Database Level

Sqlserver007
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 05-14-2009, 01:51 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,



Thanks , I have given exactly the select, update and DENY the Delete permission at database level.

Still user is able to DELETE.

This is the problem
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 05-14-2009, 01:51 AM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: SQL Server 2000 User Properties

Hi,

Run sp_helprotect and sp_helplogins for that login so we can analyze.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2000 migration to SQL Server 2005 Collation Change - Method? arjkhanna Database Support 5 10-02-2009 09:58 PM
How to Install ISA 2000 Server arjkhanna Server Management 5 01-07-2009 09:41 PM
JSP with SQL Server 2000 connectivity steps leoraja8 Java Server Pages (JSP) 2 10-29-2008 07:53 PM
SQL Server 2000 to 2005 S.Vinothkumar Database Support 3 09-27-2007 03:22 AM
problem with migrating web server windows 2000 to windows 2003 kingmaker ASP and ASP.NET Programming 1 07-20-2007 03:39 AM


All times are GMT -7. The time now is 05:23 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0