Click here to Skip to main content
15,902,635 members
Home / Discussions / Database
   

Database

 
GeneralRe: deleting question Pin
Anonymous17-May-05 22:40
Anonymous17-May-05 22:40 
GeneralRe: deleting question Pin
Luis Alonso Ramos18-May-05 5:22
Luis Alonso Ramos18-May-05 5:22 
GeneralRe: deleting question Pin
ravikim200118-May-05 19:50
ravikim200118-May-05 19:50 
GeneralRe: deleting question Pin
Colin Angus Mackay18-May-05 20:25
Colin Angus Mackay18-May-05 20:25 
Generalinsert picture Pin
rohollahabadan17-May-05 2:25
rohollahabadan17-May-05 2:25 
GeneralRe: insert picture Pin
rohollahabadan18-May-05 23:41
rohollahabadan18-May-05 23:41 
QuestionSecure on Lan?? Pin
Member 196994117-May-05 2:21
Member 196994117-May-05 2:21 
AnswerRe: Secure on Lan?? Pin
Colin Angus Mackay17-May-05 3:38
Colin Angus Mackay17-May-05 3:38 
I would have thought this would be an application level thing rather than a database level thing.

Each user would be allowed to create an edit their own rows via the application. The application would only permit them to see data that they entered. Admin users (in this instance, however, it sounds more like managerial users) would be able to see everything.

Each row would contain the username of the person that created it. The application that is interacting with the database would contain in the WHERE clause the necessary filter, e.g. WHERE username = @loggedOnUser


Ian McCloy wrote:
So how can one submit something then not have access to it? i know its a simple problem but.... gah..

This sounds crazy. But you could:
GRANT INSERT ON [table_name] TO [user]
REVOKE SELECT ON [table_name] TO [user]

or if you are accessing only through stored procedures, then you only provide access to stored procedures that permit the data to be inserted.

Personally, I would say it is always better for a user to be able to review and edit their own work. For example, I don't like forums where I cannot edit my posts (I often modify a post to correct spelling errors that I didn't pick up on the first time)


My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralYukon Vs 2000 Pin
Ashok_S17-May-05 2:16
Ashok_S17-May-05 2:16 
GeneralRe: Yukon Vs 2000 Pin
Christian Graus17-May-05 13:46
protectorChristian Graus17-May-05 13:46 
GeneralRe: Yukon Vs 2000 Pin
17-May-05 21:17
suss17-May-05 21:17 
GeneralRe: Yukon Vs 2000 Pin
Christian Graus18-May-05 12:35
protectorChristian Graus18-May-05 12:35 
GeneralMEMO Pin
Dead Ghost16-May-05 14:21
Dead Ghost16-May-05 14:21 
GeneralMySQL problem with varchar primary key Pin
razialx16-May-05 9:39
razialx16-May-05 9:39 
GeneralRe: MySQL problem with varchar primary key Pin
Christian Graus16-May-05 14:51
protectorChristian Graus16-May-05 14:51 
GeneralRe: MySQL problem with varchar primary key Pin
Colin Angus Mackay16-May-05 20:26
Colin Angus Mackay16-May-05 20:26 
GeneralRe: MySQL problem with varchar primary key Pin
niansah16-May-05 21:04
niansah16-May-05 21:04 
GeneralRe: MySQL problem with varchar primary key Pin
razialx20-May-05 10:44
razialx20-May-05 10:44 
Generaltransaction, asp.net and access db Pin
fuel2run16-May-05 3:55
fuel2run16-May-05 3:55 
GeneralListBox event in a DataGrid's Header Pin
Nizar Abdeljaoued16-May-05 1:15
Nizar Abdeljaoued16-May-05 1:15 
GeneralRe: TextBox event in a DataGrid's Header Pin
Colin Angus Mackay16-May-05 1:36
Colin Angus Mackay16-May-05 1:36 
GeneralRe: ListBox event in a DataGrid's Header Pin
Nizar Abdeljaoued16-May-05 1:58
Nizar Abdeljaoued16-May-05 1:58 
GeneralQuestion concerning Sorting DataGrids Pin
nad226315-May-05 5:06
nad226315-May-05 5:06 
GeneralRe: Question concerning Sorting DataGrids Pin
Dominic Farr28-Jun-05 20:03
Dominic Farr28-Jun-05 20:03 
GeneralRe: Question concerning Sorting DataGrids Pin
Dominic Farr30-Jun-05 6:51
Dominic Farr30-Jun-05 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.