Password/Login feature on a website?

Hello,
I am trying to have the feature where the user has to enter a login and password in order to access certain parts of a website. Is there a way to implement a password/login feature using PL/SQL?
Any ideas would be appreciated
Thanks
Douglas McGillivray

It's a while since I've worked with the pl/sql cartridge but from memory I think you have the option of enforcing login via the DAD (i.e. configure it to request username and password rather than automatically logging in). I think that you could then get hold of 'session' data such as user_id and code something into your packages to restrict access. Since it's all on the database you have the option of using Oracle security (e.g. roles and grants) or coding something yourself.
Hope this helps,
Mike.

Similar Messages

  • Adding a PASSWORD/login feature using PL/SQL

    Hello,
    I have an application written in PL/SQL that sits on top of an Oracle database. I want to know how add a password/login feature to the application.
    Thank You
    Douglas McGillivray

    You sould create a href to an sql statement ( create new user / passwd : and insert in a table (C_user,C_PASSWD), to have a list of users registred at your application)
    A htp page can manage this
    you should create roles that be granted to users,
    1- create &user dientified by &passwd;
    2- create role1....;
    3- grant &role1 to &user1;
    :user will be added by user if he chooses registration href.
    then he must add information in order to continue registration or push OK to confirm registration and let oracle grant previleges to the new user, a trigger can insert the new informations to the user_table_traces.

  • How to implement a password/login feature using the package OWA_SEC

    HELLO.....
    I have another question:
    I am using the following versions of Oracle products
    Connected to:
    Oracle9i Release 9.2.0.5.0 - Production
    JServer Release 9.2.0.5.0 - Production
    SQL> select owa_util.get_version from dual;
    GET_VERSION
    9.0.4.0.1
    (version of OWA packages)
    I have successfully compiled the following package:
    (It is based on a package in the text “Oracle Web Application Programming for PL/SQL Developers” by Susan Boardman etc… page 687-688
    The SPEC and BODY code is as follows:
    CREATE OR REPLACE PACKAGE AUTHEN_TEST IS
    FUNCTION AUTHORIZE RETURN BOOLEAN;
    PROCEDURE HELLO_WORLD;
    END;
    CREATE OR REPLACE PACKAGE BODY AUTHEN_TEST IS
    FUNCTION AUTHORIZE RETURN BOOLEAN IS
    v_user VARCHAR2(10);
    v_password VARCHAR2(10);
    BEGIN
    owa_sec.set_protection_realm('The Realm of Testing');
    v_user := UPPER(owa_sec.get_user_id);
    v_password := UPPER(owa_sec.get_password);
    IF v_user = 'PREN' AND v_password = 'HALL' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    END AUTHORIZE;
    PROCEDURE HELLO_WORLD IS
    v_status BOOLEAN;
    BEGIN
    htp.p('TESTING');
    v_status := authorize;
    IF v_status = TRUE THEN
    htp.p('WENT TO PASSWORD SECTION');
    ELSE
    htp.p('DID NOT GO TO PASSWORD SECTION');
    END IF;
    END HELLO_WORLD;
    END AUTHEN_TEST;
    As I said the code compiles!!
    However what I want it to do is successfully run the following code from the above package:
    owa_sec.set_protection_realm('The Realm of Testing');
    v_user := UPPER(owa_sec.get_user_id);
    v_password := UPPER(owa_sec.get_password);
    I want the user to be asked for a password and login
    Currently when I use the web based application the browser displays:
    TESTING DID NOT GO TO PASSWORD SECTION
    Any advice is appreciated
    Thank You
    Douglas

    Hello,
    The URL:
    http://www.columbia.edu/~br111/plsqltools/configur.htm#1002513
    has useful information related to my question
    Also this post from Paul M was helpful:
    Finding which OWA packages are available for use in the schema/database
    Thanks
    Doug

  • Implementing a password/login feature using the package OWA_SEC

    THANK YOU….
    I have another question:
    I am using the following versions of Oracle products
    Connected to:
    Oracle9i Release 9.2.0.5.0 - Production
    JServer Release 9.2.0.5.0 - Production
    SQL> select owa_util.get_version from dual;
    GET_VERSION
    9.0.4.0.1
    (version of OWA packages)
    I have successfully compiled the following package:
    (It is based on a package in the text “Oracle Web Application Programming for PL/SQL Developers” by Susan Boardman etc… page 687-688
    The SPEC and BODY code is as follows:
    CREATE OR REPLACE PACKAGE AUTHEN_TEST IS
    FUNCTION AUTHORIZE RETURN BOOLEAN;
    PROCEDURE HELLO_WORLD;
    END;
    CREATE OR REPLACE PACKAGE BODY AUTHEN_TEST IS
    FUNCTION AUTHORIZE RETURN BOOLEAN IS
    v_user VARCHAR2(10);
    v_password VARCHAR2(10);
    BEGIN
    owa_sec.set_protection_realm('The Realm of Testing');
    v_user := UPPER(owa_sec.get_user_id);
    v_password := UPPER(owa_sec.get_password);
    IF v_user = 'PREN' AND v_password = 'HALL' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    END AUTHORIZE;
    PROCEDURE HELLO_WORLD IS
    v_status BOOLEAN;
    BEGIN
    htp.p('TESTING');
    v_status := authorize;
    IF v_status = TRUE THEN
    htp.p('WENT TO PASSWORD SECTION');
    ELSE
    htp.p('DID NOT GO TO PASSWORD SECTION');
    END IF;
    END HELLO_WORLD;
    END AUTHEN_TEST;
    As I said the code compiles!!
    However what I want it to do is successfully run the following code from the above package:
    owa_sec.set_protection_realm('The Realm of Testing');
    v_user := UPPER(owa_sec.get_user_id);
    v_password := UPPER(owa_sec.get_password);
    I want the user to be asked for a password and login
    Currently when I use the web based application the browser displays:
    TESTING DID NOT GO TO PASSWORD SECTION
    Any advice is appreciated
    Thank You
    Douglas

    Hello,
    The URL:
    http://www.columbia.edu/~br111/plsqltools/configur.htm#1002513
    has useful information related to my question
    Also this post from Paul M was helpful:
    Finding which OWA packages are available for use in the schema/database
    Thanks
    Doug

  • I have a new computer and I want to use the "MasterPassword" again. How do I import all of the saved website passwords/logins from my old FireFox computer?

    I have a new computer and I want to use the "MasterPassword" again. How do I import all of the saved website passwords/logins from my old FireFox computer?

    A couple of methods.
    The first is to copy 2 files, key3,db and signons.sqlite from the profile folder of the old computer t the profile folder of the new computer. For details of how to find the profile folder see the [[profiles]] article.
    The second method is to install the [https://addons.mozilla.org/en-US/firefox/addon/2848/ Password Exporter] add-on on both computers and use that to export/import the passwords.

  • Guest Login feature in SRM 7.0

    Hi,
      How do we use Guest Login feature in SRM 7.0? Requirements are given below.
    1. Purchaser publishes Public RFx.
    2. In Conpany's web portal, link is given as "Open Tender-Click here" to enable one time bidder to participate in the Open tender.
    3. A new bidder who is not registered as bidder in the organisation would like to participate in the Bidding. He clicks on the above link in the organisation's web portal which will login as "Guest" and direct him to the SRM portal where the Bidder can see public tender Bids.
    4. He opens the Bid and analyse the details. Then he can decide to participate.
    5. Then either ROS can be used or conventionally he can send mail to the organisation requesting to be a Bidder.
    I heard some custom developments are done in few projects with custom screens. But can we achieve the same in a standard way. If developments are required, then complexities involved or process involved in the developments.
    Regards,
    Prasanna

    Hi Vineela,
    According to my information this BADI still exists.
    There was a note that entered this BADI into SRM 6.0
    1158310 SOCO: Missing BADI in search (first screen)
    In SRM 7 this code is here, you could have a look and set BP in /SAPSRM/IF_CLL_DOM_SOCO_GAF1~SEARCH
    to check what is happening, it may be something small.
    There is nothing on our database about other customers with similar complaints.
    The method you would need for sourcing is
    IF_EX_BBP_WF_LIST~BBP_WF_LIST_SOCO
    Hope this helps,
    Kind Regards,
    Matthew

  • DOES ANYONE KNOW HOW TO GET PASSED MY PASSWORD LOGIN on a mac pro? I FORGOT IT. (yosemite 10.10.1)

    DOES ANYONE KNOW HOW TO GET PASSED MY PASSWORD LOGIN on a mac pro? I FORGOT IT. (yosemite 10.10.1)

    User Tip:  Reset the user password in OS X Lion, Mountain Lion, Mavericks and Yosemite
    Posting in CAPS LOCK Is often seen as screaming and is not appreciated.  It's also very hard to read.

  • How can I add a log in and password protected page on my website

    I would like to add a "register now" and login page to my website.  Can anyone help with a SIMPLE solution?  I've tried to follow the 'secure area' info on BC but not having any success.
    I would like to have a 'register/login' button in order for visitors to get to a secure page. How can I make it happen on Muse?
    THANK YOU!!

    Hi
    You may want to refer to discussion here : Adding a Secure Zone to my Muse site
    As mentioned, you need to create a secure zone in your Business catalyst site and have a landing page set there only. This cannot be managed from Muse only. 
    For more details on how to create secure zones and achieve this, you may want to refer to some useful article as mentioned below:
    Business Catalyst Help | Add a secure area to your site
    http://www.bcgurus.com/tutorials/using-bc-secure-zones-with-adobe-muse
    I hope this helps.

  • File Adapter - anonymous login (or )User name ,password login - Efficient?

    Hi Folks,
    In File Adapter processing , anonymous login (or) proper user name password based login is recommended ?
    Because we have faced many issue while using username based login in File adapter  .
    Which one is best ?
    Regards.,
    Shiva

    Hi Shiva ,
    We will go one by one :
    You can go for the Anonymous login  but the problem is the any body can access the FTP server and it is not the secure one,that is why business generally don't allow the Anonymous login.
    Coming to Proper user name password login ,I would advice you to use this one as the connection is more secure in this case.But this also comes with a problem that the username password generally expires after some time as per security policy and you have to change the username password for the FTP server as well as in File adapter which you are using.But this problem can be solved by going for a permanent username and password.
    I would recommend you to go for Proper user name and password.
    Regards
    Ravi Anand
    Edited by: Ravi Anand@85 on Mar 12, 2010 7:56 AM

  • Turning off Password Login at Startup???

    ok so i used to live with my roommate now i am moved out and on my own, i want to turn off my passworded login like i used to have before i moved in for college, it used to just login no problem, all i did was go to System Preferences>Security and turned on "Disable Automatic Login"....well now i Un-checked it so that it will login automatically when i turn the computer on, but it still asks for my password and its really annoying, anyone know how to turn this on for sure?

    Hi Daniel,
    Try the following:
    1. Fire up System Preferences.
    2. Select Accounts.
    3. Click on the Lock at the bottom left and enter your password.
    4. Click on Login Options just above the Lock
    5. On the right ensure that Automatically Log in as: is ticked and select the account you want from the drop down menu.
    That should be it. All okay now?
    RD

  • Does the macbook pro have a password protect feature?

    i'm debating whether or not I need the Kensington ComboSaver Notebook Lock for college. if the macbook pro has a password-protect feature... maybe i don't need the lock

    How would they know there was a password?  Are you hoping to be able to say, "Excuse me, sir, but please don't steal my laptop, it's password protected."  A thief wouldn't care, even if they slowed down to listen... they'd just erase your hard drive and sell the machine.  (Or maybe not even erase the hard drive.)
    Password protection is possible on many levels, some more secure than others, but none will discourage theft.  Password protection's role is to protect against things ranging from casual snooping to determined spying, and the method used determines what can be protected against.  For true data security, you must use encryption.
    However, if you're looking to keep your laptop from getting stolen, you need to simply keep it close, or locked up when not adequately close.  A security cable would be a good investment for leaving a computer unattended in a dorm room or apartment.

  • Insecure password login due to slowness

    Do you know the console mode password login?
    First it says "Username:". Then you type the username. Then you type enter. Then it says "Password:". Then  you type the password, which isn't shown on screen.
    Sometimes after you press enter after typing the username, it's slow, and I already start typing the password but instead of being not printed, the first few letters are instead shown in the terminal.
    Imagine my username were bob and my password swordfish. Sometimes I type too fast and then I get the following output on the screen:
    Username: bob
    swPassword:
    And then it says "incorrect login" because it only registered "ordfish" as the password.
    The insecure thing is that the first letters of the password are visible!
    Why is the computer not fast enough to immediatly register the letters I type as password after I press enter? A human on a keyboard is supposed to be much slower than even the dumbest 1MHz computer...

    A big kick, but it seems like this (important) issue has been forgotten.
    I use laptop-mode on my laptop, which spins down the hd after so many minutes of inactivity. When I need to enter the password when this is the case, i.e. login or sudo, it reproduces the password echoing issue discussed here.
    After a few months of witnessing this, I have noticed that the initial command lets the hd spin up again, e.g. sudo <cmd>, and that the moment between entering the echoless password and being able to safely enter it is equal to the spin up delay. When not using laptop-mode, this issue does not occur.
    As I use this laptop for presentations, it is a real security threat when several characters of your password are visible.
    I can't find any relating bug reports and no forum posts, except for this one. The keywords regarding this issue are very ambiguous, however. 
    The problem is not a bug of laptop-mode, as it seems to occur with heavy load too. We therefore need a change in the way functions that require passwords are processed, e.g. some sort of symbol that prevents input echo on that terminal until the security kicks in.
    Edit:
    Found a bug report at last: https://bugzilla.kernel.org/show_bug.cgi?id=21272
    Last edited by Firestone (2010-11-05 10:20:00)

  • HT5449 How may I turn off the password lock feature on my iPod touch 5th gen?

    How may I turn off the password lock feature on my i Pod touch 5th generation?

    The is no way to prevent someone for setting a screen-lock passocde on an iPod.
    To turn of an existing screen-lock passcode go to Settings>General>Passcode-lock and turn it off. yo have to enter the passcode to turn it off.

  • I have to enter the remember password login at least twice each time I open a new instance of Firefox. Is there a fix for this problem?

    I have to enter the remember password login at least twice each time I open a new instance of Firefox. Is there a fix for this problem?
    == This happened ==
    Every time Firefox opened
    == installed 3.5

    @the-edmeister
    Thanks for the advice. In my case, it is sufficient to '''uncheck''' " Saved passwords".
    ('''''Preferences -> Privacy -> Clear History when Firefox closes -> Settings -> Saved Passwords''''').
    Great to have Sync. :)

  • Apple ID password login every time I used an application

    Hello,
    I'm getting an Apple ID Password Login every time I used an application, phone (Verizon, iPhone 4), or any other programs.  I login correctly and it still ask me to login again.  I don't think my phone needs to get any updates, becasue I update my phone and applications when I get home at night.
    Anyone having this problem?  This is annoying!
    Thanks

    Are you logged into your account in Settings/Store?

Maybe you are looking for

  • Windows event log monitoring

    We have Grid Control 10GR2 monitoring some Windows servers and the out-of-box config monitors both the System and Security event logs for warning and error conditions. If I want to keep this default config, but just filter out certain EventID's so th

  • Window Phone problem with photographs.

    Hİ. I have bought a Nokia Lumia with Windows Phone 8.1 and I use a PC with Windows 8 O.S. Now there is a problem I cannot understand. The pictures in the Web sites I have visited a few months ago and some of the pictures stored on my PC comes to my p

  • Use headset and Mic at the same time

    The latest MacBook Pro does not come with Mic port. How can I use my professional Mic for audio recording and my editor can listen the recording through headset at the same time.

  • How to find out if an external program is running

    I am using LabVIEW 8.6 and have some vis that start an external program using the System Exec call. The program that is being started was not written by me, and I have no control over it. I need to make sure that it is started before I proceed, but I

  • Can I use the iPhone as external microphone for my iMac?

    My imac doesn't have a mic in, only a line in. Is it possible to use the iPhone as external mircrophone with some extra software maybe? I want to create video tutorials and the internal microphone isn't good enough for this.