Relaxation block connection - user list

Hello.

Can help me with this doubt, he missed working with development to have better ideas.

Then, I am creating a trigger to lock the user access to an operating system with a user name of database. It's quiet, however, I wish these operating system users were recorded on a table and during the execution of the trigger made to validate these connections:

CREATE OR REPLACE TRIGGER SYS. BLOCK_USER

AFTER LOGON ON DATABASE

DECLARE

v_prog sys.v_$session.program%TYPE;

v_username sys.v_$session.username%TYPE;

v_osuser sys.v_$session.osuser%TYPE;

v_sid sys.v_$session.sid%TYPE;

v_serial sys.v_$session.sid%TYPE;

-v_inst_id sys.v_$session.sid%TYPE;

BEGIN

SELECT the program, username, osuser, sid, serial #.

IN v_prog, v_username, v_osuser, v_sid, v_serial

OF sys.v_$ session

WHERE sid = USERENV ('SID')

AND audsid! = 0 - Não conexoes verification do SYS

AND rownum = 1; -Parallel process will have the same AUDSID

IF UPPER (v_osuser) not in the ('BR3AMR', 'BR3CAM8')

THEN

IF (UPPER (v_username) = "ADMRMS")

THEN

RAISE_APPLICATION_ERROR (-20000, "block access!) ('| v_osuser |') -' || v_username |' -' || v_prog |') ') ;

END IF;

END IF;

EXCEPTION

WHEN NO_DATA_FOUND THEN NULL;

END;

/

Hello.

Can help me with this doubt, he missed working with development to have better ideas.

Then, I am creating a trigger to lock the user access to an operating system with a user name of database. It's quiet, however, I wish these operating system users were recorded on a table and during the execution of the trigger made to validate these connections:

Above the code, the line "IF SUPERIOR (v_osuser) not in", the user should not set but the trigger on a table, in the case of new users entering the business, there is no need to keep the trigger.

Is there a solution for this?

Hugs!

Hello

What replacement

IF UPPER (v_osuser) not in the ('BR3AMR', 'BR3CAM8')

... 'ADMRMS '...

with something like

COUNT (*) of SELECT INTO table_of_osusers_to_check l_i t WHERE SUPERIOR (v_osuser) = t.osusr;

IF l_i > 0

THEN

COUNT (*) of SELECT INTO table_of_excluded_users l_i t WHERE SUPERIOR (v_username) = t.usrname;

IF l_i > 0

THEN

... (blocked)

END IF;

END IF;

Best regards

Bruno Vroman.

Tags: Database

Similar Questions

  • Can I block the user to connect to the VPN 3030 by type of customer or version?

    I would like to block some users who use to connect to our VPN 3030 client Win98 or very old version of VPN client.

    Is there a way to set up my VPN 3030 so I can block customers? I don't want to push new customer for them or that you don't have a server radius or something like that to put them on an isolated network independent.

    I want to configure VPN 3030, is it possible?

    Thank you.

    Jayesh,

    Reach:

    Configuration | User management | Groups

    Go to the specific group and click on modify.

    On the IPSec tab, you will see a section for:

    Customer type & Version limiting

    For example:

    p *: 4.7*

    This will allow the version 4.7 of customers.

    See you soon

    Gilbert

    Write it down, if it can help

  • The task in question from the user list

    In my planning application, I can't get the report function of the task list to show me the State of each task of the user list, when I set up this user to a Shared Services group. The problem is that supply us groups to the access list of task and not users directly. But what causes the report of task list not working on the display of the list of users and their status on the execution of the tasks. Anyone know how to get these reports to view the status of the user without having to assign users directly to the task list? We don't want to not use workflow, but rather just a way to show users report on their status of the to-do list.

    Firstly what Hyperion version are you on?

    Then when the user logs on their task list homepage provides a dashboard where they are on their (complete vs incomplete) task.

    Finally, through Smart View(planning connection) you can create/generate a report for any task list and this report can be grouped by user or task and displayed in Excel or PDF.

    Mark the thread as helpful if it was OK if it is looking for the requirements.

  • What are the features available in controller to find connection user details

    Hello world


    What are the features available in controller to find connection user details

    ex: Using String userId = String.valueOf (pageContext.getUserId ());

    We can find the login user ID

    Similarly we can find user login name, profiles, etc.

    I want to just list the features available in the controller of the user of the connection...


    Kind regards

    Krishna

    Hello Krishna,
    You can find

    pageContext.getUserName ();
    pageContext.getResponsibilityName ();

    pageContext.getResponsibilityId ();
    pageContext.getOrgId ();

    etc...
    in Jdeveloper type pageContext. ' Ctrl + space bar ', you can find the list of available methods.

    Kind regards
    Naren.

  • Why remove the Terminal Server on Windows Server 2008 Standard Server HKEY_USERS\S -? When one connects users off?

    Why remove the Terminal Server on Windows Server 2008 Standard Server HKEY_USERS\S -? When one connects users off?

    I have a setting wrong?
    I can't find a setting that relates to this in either Terminal Server Config or Terminal Server Manager...
    Any help would be much appreciated.

    Hi Richard,

    Thanks for posting your question on Microsoft Community!

    I suggest you to ask your question in the section service Terminal Server TechNet forums for assistance.

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    I hope this helps.

  • How can I block the users access to microsoft office?

    How can I block the users access to microsoft office?

    You must set "" permission to run on each of the Microsoft Office programs (word.exe, excel.exe, powerpnt.exe, etc.) such that the group 'Administrators' and the SYSTEM is allowed to run.  To do this, you do a right click on the .exe file, select 'Properties', then click on the 'Security' tab and change security as you wish.

    If you do not have a 'Security' tab, then it is because you have XP Home Edition, or if you have XP Pro with active Simple file sharing.  For XP Home, you must boot mode safe (repeatedly tap F8 at startup key) and login as an administrator to access this tab.  For XP Pro, follow the instructions in the following article:

    "How to disable the file sharing simple and how to set permissions on a shared folder in Windows XP"
      <>http://support.Microsoft.com/kb/307874 >

    HTH,
    JW

  • Somehow, I blocked my user account (login) and I tried to help but can't find any info. How to UNLOCK the user account. Than k you

    The user has clicked on Vista, the little lock at the bottom of the START window.

    Somehow, I blocked my user account (login) and I tried to help but can't find any info. How to UNLOCK the user account. Thank you

    Hello

    Click the account icon that was locked and enter the password IF you know and otherwise:

    Try Safe Mode - several times, press F8 that you start. The Admin account there is no default password
    so unless someone has changed, you should have access there. Then Control Panel - accounts - users
    Manage another account - use this down your user account (to the lowest level) APPLY/OK
    then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times.
    Then fix the password in your usual account. Do not forget to leave your account administrator if you
    wish.

    If no joy Mode without failure:

    Try this - use the hidden administrator account to lower your user account (to the lowest level) APPLY/OK
    then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times.
    Then fix the password in your usual account. Do not forget to leave your account administrator if you
    wish.

    Make another Admin account with your password and use it to fix the others if necessary. (just for
    repair, don't use regular account, not a safety valve) always keep a spare ADMIN account.

    DO NOT LEAVE THE ENABLED LSA OR USE DAILY. If it corrupts you are toast!

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    You can run the Admin account hidden from the prompt by if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    If you cannot access your old account, you can still use an Admin to migrate to another (do not forget to always
    not that an Admin account that is not used except for testing and difficulty).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    ---------------------------------------------------------

    If necessary:

    Ophcrack is a free Windows password cracker based on rainbow tables.
    http://Ophcrack.sourceforge.NET/

    How to reset a Windows Vista - Trinity Rescue Kit method - password password reset disc - burn the ISO
    http://www.WikiHow.com/reset-a-Windows-Vista-password
    YouTube video on the use of the Trinity rescue Kit
    http://www.YouTube.com/results?search_query=Trinity+rescue+Kit&search_type=&AQ=f

    Reset your forgotten password the easy way using the Ultimate Boot CD for Windows
    http://www.howtogeek.com/HOWTO/Windows-Vista/reset-your-forgotten-password-the-easy-way-using-the-ultimate-boot-CD-for-Windows/

    Offline NT Password & Reset Editor
    http://home.eunet.no/~pnordahl/ntpasswd/

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How to block other users to access your folders in user name?

    For my own personal safety

    How can I block my user name folders of other users on my computer and my network without my account corrupt on me?

    I tried to do for some time now, and somehow something always corrupts on me.
    First of all, I went into my username, properties, security and denies access to anyone else, but then I somehow, it corrupt on me.
    So I have that challenge by creating a new account and transferred all my data on the
    Then I have my new username of another user account click right and shared with anyone...
    but then I couldn't access it either so I unstapled who.
    Now, I'm at square one...
    Can someone help me please?

    Unfortunately, they are admins and Yes at the start they received rights but is there a way I can cancel that...

    and that is how should I go about setting up as the encryption?
    Third, they don't go as deep into the search for something. The problem is, if its there they go out. If not, no probs. So, how can I block em to get addition by clicking on properties and set the folder that hidden?

    If they stay admin users, nothing you can do other than encryption technically.  And if they go poking around and either don't know what they do (or do and are cruel) while they could spoil encrypted files you have and your ability to access them once again (unless you are wise enough to save the external encryption key).

    All you have to do is enter and change their user accounts to Plains old standard users instead of administrators (account type).  They will no longer be able to go anywhere on the computer, they will not be able to install things - the scale of the system and it is possible that some things might stop working for them depending on how some programs installed.

    If it were me - I create two administrative accounts, password protect and remove all others of the Administrators group.  No one should use the computer every day as an administrator.  (Why two?  In case one becomes corrupt or something else happens).

  • Unable to connect to the internet, the error message ' primary DNS server does not and remote Firewall can block connection.

    Original title: Internet connectivity.

    Internet connectivity.  I can't connect to the internet from the computer at home.  Get the message "primary DNS server is online but doesn't react don't not to connection attempts."  Remote Firewall might be blocking connection.  Name of the filter GUIID mfe is connect-legend-v4.  McAfee Firewall is enabled.  Turned it off temporarily with the same result.

    Hello

    Did you change on your computer before the show?

    Follow the steps mentioned below:

    Method 1:

    Network connection problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    Method 2: Try resetting the TCP/IP stack.
    To reset the stack TCP/IP go to this article and either click on "Fix it for me" or follow the instructions to fix it yourself

    How to reset the Protocol Internet (TCP/IP)

    http://support.microsoft.com/kb/299357 .
    If the same problem still persists, then try the next method.

    Method 3: update the network driver.
    Steps to update of network driver:
    a. click the Start button.
    (b) in the search box type devmgmt.msc and then press ENTER.
    c. Select the network card device and right click on it
    d. now, select Properties.
    e. in the Properties window, on the driver tab, click Update driver.
    f. after the installation of the updates, restart the computer.
    For more information visit:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly.
    Method 4: Definition of obtaining DNS on automatic

    a. Click on start and then Control Panel.
    b. go to the networking and sharing Center and then click on change adapter settings.
    c. right-click on connection to the Local network and select Properties.
    d. Select Internet Protocol Version 6, and then click Properties.
    e. Select obtain DNS server automatically an address and press Ok.
    f. Select obtain IP address automatically.
    i. Repeat steps for Internet Protocol version 4 as well.

  • My laptop displays connect to WIFI but doesn't connect and lists of unidentified network

    I use Vista on my laptop and recently changed my Netgear WIFI bridge.  I added the bridge, but when I go to connect it says connected but not connecting, and lists of Undentified Network.  I googled this problem and cannot find a solution.

    Hello

    1. you get any error message?

    Please follow the steps from the link below.

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Also check out the links below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-finding-wireless-networks

  • How can I block a user to download files on the web?

    I use Microsoft parental control for a few months, I dig several times to find t somehow I can block the user to download files? Like the way that we have the ability to "Block downloads of files on the web" in Web filtering.

    If this isn't the case, using the parental control of Microsoft, y at - it another way I can prevent users from downloading files?

    BTW, I'm on Windows 7 x 64.

    Hello

    Thanks for posting your question in the Microsoft Community forum.

    We understand that you want to block the user to download files using the parental control. However, please be informed that this is not possible, since it is by design. Family Safety allows you to block downloads of files from the web, but not to download files:

    For more information, you can visit this Wiki link:

    Family Safety: frequently asked Questions

    http://answers.Microsoft.com/en-us/Windows/wiki/windows_other-security/family-safety-frequently-asked-questions/5672f7b2-e3c0-498a-9a6c-c9cab39f68e5

    Hope this information helps. If you need help with Windows, let us know and will be happy to help you.

  • PIX by RADIUS and access user-list

    Anyone knows if with Microsoft (IAS - RADIUS service) Internet Authentication Service

    It is possible to use download the access list for the PIX (access by user list) firewall and how do I configure IAS for this feature.

    Thanks in advance.

    Yes, it is possible. Take a look at this link which explains how I could make it work:

    http://www.Cisco.com/univercd/CC/TD/doc/product/iaabu/PIX/pix_62/config/mngacl.htm#33910

    I don't remember all the steps I took to get the ISA server computer to return the string VSA CISCO specific (attribute 26), but you should be able to understand. I am, in any case, an expert of the IAS.

    I hope this helps.

    Scott

  • Connect a list to the bridge component

    Hello

    I have a question how can I connect a list element of bridge and the bridge component to select a button.

    Please tell me the solution for this.

    Thank you

    Hello Mohit,

    I think that I undestand what you're trying to do. I wrote a sample for you. You can download it here. This application of the MAF were developed under JDeveloper and MAF 2.1.3.

    It will be useful.

  • How to block another user

    I get spam in my pm Inbox communities.vmware.com.  I can't find how to block this user or report of the msger h itself.  Is there a feature to do?  I took 1 spam to the "moderator".  Is it the right place to send it?

    Please send an email to [email protected] with one of the PMs you got. They can take care of that.

    André

  • Listener shows blocked connections

    Hello

    I am working on AIX 6.1 with Oracle 11 g R2 (11.2.0.2.0). I am trying to connect databases to another server. I moved the password file and renamed it as well. But when I try to connect the source to the target server server it gives «Connected to the ideal forum»

    Review on the target database server, the listener is showing blocked connections

    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production on 7 February 2012 08:31:06+.

    ++ Copyright (c) 1991, 2010, Oracle. All rights reserved. ++

    ++ Welcome to LSNRCTL, enter 'help' for more information. ++

    ++ LSNRCTL > status ++
    ++ To connect to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=drctest.testtst.com) (PORT = 1521))) ++
    ++ The LISTENER STATUS ++
    ++------------------------++
    ++ LISTENER alias ++
    ++ Version TNSLSNR for IBM/AIX RISC System/6000: 11.2.0.2.0 - Production Version ++
    ++ Start Date 7 February 2012 08:25:21 +
    ++ Uptime 0 days 0 h 5 min 47 sec ++
    ++ Stop trace level ++
    ++ SAFETY: local authentication OS ++
    ++ WE SNMP ++
    ++ File parameter listener /u01/app/oracle/product/11.2.0.2.0/dbhome_1/network/admin/listener.ora++
    ++ Listener log file /u01/app/oracle/diag/tnslsnr/TESTTST/listener/alert/log.xml++
    ++ Summary of endpoints listening... ++
    ++ (Description = (Address = (Protocol = TCP)(Host=DRCTEST.testtst.com) (port = 1521))) ++
    ++ (Description = (Address = (Protocol = IPC) (Key = EXTPROC1521))) ++
    ++ Services summary... ++
    ++ Service 'drctest' / your 1 instances. ++
    ++ The instance 'drctest', LOCKED status, has 1 operation for this service... ++
    ++ Service 'drctest.testtst.com' / your 1 instances. ++
    ++ The instance 'drctest', status UNKNOWN, has 1 operation for this service... ++
    ++ The command completed successfully ++

    Please all possible suggestions and advice. Thank you very much.

    Make sure that ORACLE_HOME and ORACLE_SID you can connect locally to instantiate with:

    sqlplus / as sysdba
    

    Do not enter: "idle instance."

    Once this is done, if you need to change ORACLE_HOME (maybe end remove "/"), restart the listener.

    Edited by: P. Forstmann on 7 Feb. 2012 20:22

Maybe you are looking for

  • Elite x 2 G1 Pen

    So, I bought a slightly used Elite x 2 G1. The pen shows nothing when I tried to pair (without coupling light and no reaction from the pen app).  So I changed the AAAA batteries.  Still nothing. So I searched the documentation.  None anywhere.  But t

  • HP F4480: HP F4480 in the attic about 4 years: is - this can be used?

    I kept my HP F4480 in my attic for about 4 years.  Recently, I went out of storage and connected to my computer.  Once Windows loaded drivers, I tried to scan a document, which worked well.  Then I tried to print a document both a color and black and

  • CSA will not be installed

    I have created a kit officer and assigned to a group. When I select this agent kit it does not install. I can see the installation process come in the Task Manager, but it disappears after a few seconds. I want to install the agent on a w2k3 server a

  • Adobe Illustrator CC hangs on the splash screen

    HelloI couldn't find a similar thread with similar solutions, then we are, about 2 months ago, my Adobe Illustrator CC stopped opening. It starts up and displays the splash screen but then stops everything in "Reading Fonts" (see image below)I had no

  • ESXi 4.1.0 GROUP

    Hi allI had the GROUP attached on a HP ML350 G6 earlier this morning, card server below. I can't find any information about this particular error then decided to try my luck here. Should add that I never trobuleshooted one SOD ESX before although tha