home *** CD-ROM | disk | FTP | other *** search
- rem +----------------------------------------------------------------+
- rem | SRW_RVKE -- SCRIPT TO DISALLOW ACCESS TO SQL*ReportWriter |
- rem | |
- rem | Used with centralized tables, this script prompts for a user |
- rem | to revoke access from, and then revokes all priviledges for |
- rem | that user on the SQL*ReportWriter tables. |
- rem | If the tables are stored locally, this script may be used |
- rem | to revoke access from a user so that they cannot copy the |
- rem | reports. |
- rem +----------------------------------------------------------------+
-
- accept uname char prompt 'Revoke access from user: ';
-
- set verify off;
- revoke all on srw_field from &uname;
- revoke all on srw_fkey from &uname;
- revoke all on srw_grant from &uname;
- revoke all on srw_group from &uname;
- revoke all on srw_param from &uname;
- revoke all on srw_query from &uname;
- revoke all on srw_report from &uname;
- revoke all on srw_ste from &uname;
- revoke all on srw_summary from &uname;
- revoke all on srw_text from &uname;
- revoke all on srw_text_long from &uname;
- revoke all on srw_granted from &uname;
- revoke all on srw_next_appid from &uname;
- set verify on;
-