Hide the password in a .bat file

Stand-alone .sql scripts are saved to a shared folder on the network (Windows OS)

How can I hide the password and call from a .bat file that connects to the Oracle database and executes the script.sql

test.bat
--------------------------------------------------------
sqlplus login/password@database_name

@C:\sqlscript\script.sql

pause

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

Thank you

This message has been moved since the administration of server and storage systems forum * forum General Discussions of database.

The question is not on the administration of the computer system. It seems to be on the functionality of data (a login crib sheet).

Tags: Database

Similar Questions

  • How to hide the password of the wireless network?

    Original title: Wi Fi security

    How to hide the password of the wireless network, once some bodies go wireless and password properties.  (Properties-> see the password on the properties of the wireless network)...

    By not allowing access to an account with administrator privileges. If they try to do it with a Standard user account, then they need to know the Admin password. If they don't know that so they cannot see the characters.

  • hide the password on e-mail

    I have a shared computer, and I want to hide my password, as every time I log on password is saved so anyone can access my mails.

    Hello

    Thanks for posting your question on the Microsoft community.

    Thank you for details on the issue.

    If you don't want your browser (e.g. Internet explorer) to hide the passwords of other users, you can turn off the ability to store passwords.

    I suggest you to refer to this article and check.
    Reference:
    Remember passwords and fill web forms
    http://Windows.Microsoft.com/en-us/Internet-Explorer/fill-in-forms-remember-passwords-AutoComplete#IE=ie-11

    Note: Please see 'disable password economy' section in the article above.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • How to hide the password in the event FDMEE script

    Hello

    I have a script of the event (AftImport.py) implemented in FDMEE. In the script, I have a line to connect to the base:

    sourceConn = sql. DriverManager.getConnection ("jdbc:oracle:thin:@abcd1234.vci.att.com:1521:FCMTEST", "SWUSER", "pw5678");

    In this example, pw5678 is the password of the user SWUSER to connect to the base. For safety reason is there a way to hide the password pw5678 in this script?

    Thank you!

    Hongfei (AT & T)

    Hello

    your security policies are too strong?

    There are different ways to do this. Some of them:

    -Use of Base64 encode/decode (you have the details on our google friend)

    -Store the password in the system environment variable and get this value from the script

    -With the help of related SQL Server/Oracle DB Link + synonyms. Using this approach avoid you opening connections of the scripts as we shall delete your database / tables as objects of FDMEE and the FDMEE databases is accessible from scripts without having to open the connection.

    Different solutions, different ways of hacking password if someone has access to the script. So based on your security policies, you need to find the best solution.

    See you soon

    Francisco

  • How to hide the password while typing

    Hi, in my login page I need to hide the password or show asterisk or one point instead of password characters.how to do this.

    Thanks in advance.

    Set the secret property of MessageTextInput under the heading "security."

    Thank you
    AJ

  • Search inside the password protected Office 2007 files in Windows 7

    Hello:

    I see from my research online, it says cannot find in files Office 2007 password (in particular, Word and Excel 2007) protected in Windows 7.

    Is there a solution, a way to do this without removing the protection of password of all my files?

    Thank you.

    No there is no work around.  You can always search metadata, as if you have a file that I made which was protected, you can still find it by searching for author: shawn, but you would not be able to search inside of the file.

  • How to hide the password wireless

    Hello

    Anyone know how to hide windows Xp and 7 password wireless?

    Thank you in advance.

    Kind regards

    Lanzartel

    Hello

    Thank you for contacting Microsoft Community.
    Go to the properties of the wireless network-> go to the Security tab.
    Under the network security key, you can find the option Show characters. Remove the tick and the password will be hidden. Click Ok.
    If the station is not related to your query, answer here.
  • How to hide the password of my router? Windows 7 'Starter' _

    Hello

    We have just received a Lenovo S10 Netbook with the 'Starter' Win 7 version for my daughter and I have a question about the configuration of the wireless access.  It's my first exposure to Win 7, so I will describe things better than I can.

    I clicked on the "Internet access" icon in the status bar and came to the list of wireless network connections.  I chose one of our encrypted router WPA - PSK, cut and pasted my character of ~ 30 'network security key' (password/password) and bingo, I was connected to internet and websurfing very well.

    Here's my question.  How i permenently hide 'Network security key' my router?

    When I come back for wireless network connections and right click on my router and select "Properties" and go to the 'Security' tab, there is a small box labeled "Show characters" who will switch back and forth between a string of points and the 'plain text' 'Network security key' for anyone to read. "  I am not prepared to follow his game to use our network if anyone with access to its Netbook can get the password of my router WPA.

    I have a certain devices connected wirelessly to our network, but it's the only one where I can see the password in plain text.  Others show only a string of stars or points to 'Encrypt' the display of the password.

    I'd appreciate any help as well as the girl who hopes to keep access to the internet.

    Thank you very much, BDT

    AFAIK, you can't replace that, even if I'm wrong on this issue.

    Insofar as others get your key wireless of its netbook, make sure that your girls account is a standard user account and that she doesn't have administrator permissions. This way if she tried to see the properties of wireless for your wireless network security, it cannot only if they enter the administrator password. In the example screen if I'm logged in as a standard user and try to check the box next to display characters UAC appears and ask my administrative user password.

    http://CID-25ab668da65c8fbe.SkyDrive.live.com/self.aspx/Windows%20images/Showcharacters.PNG

    In all cases ensure that the administrative user accounts are password protected by a strong password and access is strictly regulated.

    http://Windows.Microsoft.com/en-us/Windows7/why-use-a-standard-user-account-instead-of-an-administrator-account

    FWIW, I executed as a standard user, 99% of the time on my Windows 7 laptop. My wife runs as a standard user 100% of the time on his Office XP Pro. When I set up my PC I create an administrative user, IE. Root in my case and the number of users for each machine. All are protected by Word. Root is only used to install programs, change system tricks, security settings, etc... etc... etc...
    MS - MVP Windows Desktop Experience, "when everything has failed, read the operating instructions.

  • How to hide the password box fields if the client is connected

    Hey people!

    I have a site that I tried my best to make it work well, recently the test myself, I realized how annoying is having to type your password again when you've already connected, and you need to buy something else.

    So what I thought essentially to do is hide the fields of password since the start of the page without messing with my currently jQuery Validation on the page.

    Help is very much appreciated.

    Hello

    You can do this with js/jquery, but you will need to work by default validation of British Colombia script. Tutorials

    Or if you have cash you select can detect the connected with globals.user.isLoggedIn and hide/show password field if necessary.

    Drinking in both cases, you will have to work the js validation by default.

    It will be useful.

  • hide the password recovery catalog in script

    Hi all

    I wanted to know what are all the options, the community uses when it comes to hide the recovery catalog owner password? of course, when you save another DB in our environment, we use a recovery catalog and connect using the user/password@recovery_catalog in our script. so if anyone has access to read our script can find the password of the recovery catalog owner. I wanted to see what is the dose of rest of the dose of community to hide the recovery catalog password?

    What is the version of db, which we are discussing here? If its 11g, you can create the virtual catalog owners on the top of the catalog and allows to manage your db. Other than that, you can store the password in the wallet on the client side and use it without Hardcoding it.
    http://www.Oracle-base.com/articles/10G/secure-external-password-store-10gR2.php

    Aman...

  • Hide the list of pages html files

    I created html files that display data for the Web application in JSON format (I use them to extract the data from the webapp via AJAX front end Web site). I don't want these files don't appear in the list of pages. Is there a way to hide in this list, but let them be accessible for AJAX requests?

    Hello

    Since you can't put modules in .json files you'll have it made in the pages, and you can go to any page in the admin and under its options, check the box "hide search engines." Fact.

    As a note - since, as you know, form your own script of linline in JSON with web apps your last item will have a comma and you must do it in post somehow with javascript. AJAX in the HTML page, edit, convert it to json.

    If you have the new rendering engine on your website, on any page you can add the url with...? JSON = true and you will get a json output modules on this page. IF you get a blank page with no model and a single module - Total 500 items on this page.

  • How do I use Visual Studio 2010/2013 and the Acrobat SDK kit to create an application that will be the password protect a PDF file?

    I can use some other 3rd party tools that will allow me to open a PDF file, add user passwords and save it.  How can I do that using the SDK?  Looking for a simple solution... Thank you

    OK, so the SDK is a complete non starter because

    -the SDK is to work with Acrobat

    -Acrobat isn't for the server.

    There are Adobe PDF Library, which provides a large part of the plugin API and CAN be used to make applications. Separate issue, DataLogics licenses (individual courses).

  • I have received an email asking for my birthday and the password to retrieve lost files, it's really of hotmail

    I received an email asking my birhtday and password is this true or a scam?

    I received an email asking my birhtday and password is this true or a scam?

    SCAM.

    Do not respond.

  • Hide the fields password and the Password Confirmation

    In IOM (9.1.0.2. BP12) I need to hide the password and Confirmation of the password that I managed to do by editing the tjspGenerateCreateUserForm.jsp the fields. Now my problem is that I can't create the user because these fields are mandatory. I added these lines below the JSP, but IOM still complains about the missing fields.


    < div style = "display: none" >
    < input type = "text" name = "value(Users~Password)" value = "12345." readonly = "true" styleClass = "Fields" > "
    < / div >
    < div style = "display: none" >
    < input type = "text" name = "value(Users~ConfirmPassword)" value = "12345." readonly = "true" styleClass = "Fields" > "
    < / div >

    I have commented out or change this part in the FormMetaData.xml file, but that will affect all users, and this requirement is only for some users.

    Any ideas?

    Thank you
    Jani

    You can do one of the following:

    -Write an adapter before insertion that always generates the password, so you don't have to provide anything of the JSP. It works for all users.

    -Do not hide the field password make it readonly and also provides a value with it. This could be done in the same JSP as follows:

    *
    MaxLength = "100" styleClass = "Fields" tabindex = "1" / >

    Thank you
    Sunny

  • How to import the password html file in Firefox in win7-

    I exported the password in an HTML file in firefox on a PC with XP SP3. I can't find where to import them into firefox on my new Win7 PC.

    Have you used the password exporter extension?
    Password exporter: https://addons.mozilla.org/firefox/addon/2848

Maybe you are looking for

  • Why mail puts e-mail in the junk e-mail folder

    When in Mail preferences, I have disabled "spam filtering". Filtering is certainly nice, but I've lost several very important messages because they have been filtered as 'junk. ' I get thousands of emails and the time it takes to filter them personal

  • Doubts about the speed

    Hello gentlemen; I have a few questions, I would like to ask more experienced people here. I have a program running on a computer that has a processor i7 processor. In this computer that I have programmed in LabVIEW, meanwhile in another lab, we have

  • Router WRT54G (ping IP)

    Hi, I deal with 3 computers, one of them has a cable between the router and the computer, and the other two are wireless, I don't have any problem to go on the internet with any of them. When I ping the router from any computer it answer, but when I

  • Problem: I can't activate windows vista even with "phone activation".

    Hello worldI just re-formatted my computer and now I am asked to activate windows Vista Edition Home Premium x 32.I try to activate it, but I want to take this message: your product key is already in use!I try the phone activation but when I call it

  • Cannot edit photos

    According to the help on internet pages, I'm supposed to be able to right click on the photos and editing options will appear.  This is not the case.  And no, my files are not read-only.  They are JPEG files saved on my computer.  Help, please.  I'm