what is the difference between deny and revoke?

Reply

Join Date: Jan 2008
Posts: 7
Reputation: baheddad is an unknown quantity at this point 
Solved Threads: 0
baheddad baheddad is offline Offline
Newbie Poster

what is the difference between deny and revoke?

 
0
  #1
31 Days Ago
hi everybody ...could anyone tell what is the difference between deny and revoke of privileges from a user.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 26
Reputation: Cronless is an unknown quantity at this point 
Solved Threads: 2
Cronless Cronless is offline Offline
Light Poster
 
0
  #2
29 Days Ago
Permissions are cumulative and DENY takes precedence. REVOKE removes GRANT and DENY permissions previously assigned. Because all users are members of public, you should DENY permissions to public only when you want to prohibit access by all database users.

Hope that helps.
~~ Free Cron Jobs - Online Cron Service ~~
Best place to run your PHP Cron Jobs
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,089
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 125
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic
 
0
  #3
28 Days Ago
Only the owner of the object has the permission/access on the object. Other users needs to be granted permissions by the owner/dba for access which is taken back by the REVOKE command.

If permission is not granted it means it is denied and there is no command to DENY any previlages.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 7
Reputation: baheddad is an unknown quantity at this point 
Solved Threads: 0
baheddad baheddad is offline Offline
Newbie Poster
 
0
  #4
24 Days Ago
thank you so much to replay ...but i need more explanation with example ,i did not get it yet.
thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,089
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 125
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic
 
0
  #5
24 Days Ago
you need to read books for all the details.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 15
Reputation: whizkidash is an unknown quantity at this point 
Solved Threads: 0
whizkidash's Avatar
whizkidash whizkidash is offline Offline
Newbie Poster
 
0
  #6
18 Days Ago
Dear Friend!

example as below

this used to changes the permissions on database
this DCL(DATA CONTROL LANGUGE)STATEMENT

*)GRANT---THIS IS ACCESS GARANTED ON PARTICLUR DB OR
USER
*)DENY----THIS IS PARTICLUR USER WAITING FOR ACCESS WHEN COMMETED THE DATA THEN PERMISSION ON DB

*)REVOKE--- THIS STATEMENT USE THE USER HAVE NO PERMISIONS

regards
Whizkidash
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Oracle Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC