Hide password in table

Hi
My program store a encrypted password in a z-table.
But how do I protect the password, so nobody just use the respective FM to see the password, or create a program to see the passwords.
I use these FM:
DECODE_SLDPWD_BASE64
ENCODE_SLDPWD_BASE64

> Guys, my question is just how I protect my data in a database.
> In my example it was a password, because I ment the example was easy to describe, but it could also be that I wan't to protect, encrypt a birthday or an ID of something.
Sorry, but that's not possible. Keep in mind: ABAP source code is visible. So, anyone with access to it can read your "encryption key" if it's contained in the ABAP source code. Furthermore: ABAP does not provide an API for cryptographic algorithms (which are subject of export control).
However: the standard tools (e.g. in ABAP: SM59 to store destination information, including UID/PWD) make use of the so-called "secure storage" (see ABAP transaction SECSTORE). The usage of the "secure storage" is controlled / restricted; only known SAP applications can use the API; and only UID/PWD information is allowed to be stored there (no arbritrary application content).
> So please forget anything about login, XI/PI, vendor etc:
No, that's not the way to solve problems.
You have been asking for help, so the first question will always be: what exactly do you want to achieve.
Only then one can you you by advising to use (existing) functionality.

Similar Messages

  • How to hide fields in Table maintenace screen

    I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.

    HI, 
    This is reff with ur below post, I have been stuck with same problem,
    I got your code, how its functioning, but didn't get get where i have to write it.
    plz tell me in brief.
    Thanks in Advance.
    Regards
    Vivek
    Re: How to hide fields in Table maintenace screen  
    Posted: Feb 6, 2009 11:42 AM   in response to: Aarti Ramdasi in response to: Aarti Ramdasi           
    Click to report abuse...             Click to reply to this thread      Reply
    Hi,
    You can hide the fields like this..
    For example
    select-options:
    s_carrid for spfli-carrid modif id gr1,
    s_connid for spfli-connid modif id gr1,
    s_cityto for spfli-cityto modif id gr2.
    I am going to hide last fied..To do this
    at selction-screen output.
    if s_carrid is initial or s_connid is initial.
    loop at screen.
    if screen-group1 CS 'GR2'.
    screen-active = 0.
    modify screen.
    endif.
    endloop.
    endif.
    whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially
    Regards
    Kiran

  • I need to have my macbook pro repaired how can I hide passwords and banking info?

    I need to have my macbook pro repaired how can I hide passwords and banking info?

    Create a new admin account named repair and only give them the password for that account. Alternately you could back up or clone your system, erase the hard drive and then reinstall OS X with one admin account that has no personal information.

  • I can no longer hide passwords under toolbar/options. What to do?

    I can no longer hide my passwords - under toolbar/options/security. They continually all show up and I'm afraid someone else may be able to see them as well. The option to hide passwords no longer appears.

    Are you using a master password?
    * https://support.mozilla.org/kb/Protecting+stored+passwords+using+a+master+password

  • Dynamic Hide column in table control

    I want to hide colum of table control in program, and then it can invisible,but others is visible.
    how should i do?

    Hello All,
    I am trying to implement the above solution. I am facing some issues.
    I have used a table maintenance generator. So Depending on the Fields I have choosed, screen is automatically generated with table control : TCTRL_FSH_SOFN_V.
    Now, I have to declare a work area to store the values of the above type.
    How do i do it??
    The highlighted portion gives an syntax error as the table control is not defined.
    data: wa_FSH_SOFN_V_cols type LINE OF TCTRL_FSH_SOFN_V-COLS.
    loop at TCTRL_FSH_SOFN_V-COLS to wa_FSH_SOFN_V_cols."into .
       if sytabix = 4.
         wa_FSH_SOFN_V_cols-INVISIBLE = 1.
         MODify TCTRL_FSH_SOFN_V-COLS from wa_FSH_SOFN_V_cols.
        endif.
        endloop.

  • How to show/hide passwords in outlook

    I can show/hide passwords in yahoo but not in outlook. How do I show in outlook

    I'm guessing you can press the little icon to the right of the password field to see the password. I'm using Ubuntu so I don't know what the icon looks like. It should be like a black WiFi signal or something. You should be able to click/hold that to see the password.
    Were you able to show that password before or is this the first time you've tried? You can try to clear the cookies for outlook.com to see if that helps but as far as I know, Windows 8 should be able to show/hide the password.

  • Hide password on command line

    Dear everybody,
    I would like to find a way to hide password on command line when user type password. There is a way that use another thread to output '\b*'. However, it has some bugs. And I can't use Console class which has a method to hide password. Because my JDK is 1.5 and I can't change it because of some reasons.
    Does anybody know a way to hide password on command line?
    Thanks very much!

    Because my JDK is 1.5 and I can't change it because of some reasons.Look how sweet Console is in 1.6:
    import java.io.Console;
    public class ConsoleExample {
        public static void main(String[] args) {
            Console console = System.console();
            char[] password = console.readPassword("Please enter password:");
            //don't do this: passwords shouldn't be stringified
            String s = new String(password);
            console.format("password =[%s]%n", s);
    }Find a way to install 1.6! We believe in you!

  • How to hide a empty table using Javascript?

    Hello!
    I'm using Adobe LiveCylce Desinger integrated in SAP. I have a task to hide a database-table, if the table empty is.
    Normmaly we can do following to check, whether the content empty is.
    if (this.REMARK_TEXT.rawValue == null )
    this.presence = "hidden";
    else
    this.presence = "visible";
    The question is, how to check in Javascript, if a table empty is.
    Many thanks in advance!
    regards
    longholiday

    I  am not too sure whether you have used Content editor webpart to put the JS or CSS to hide the control. see here for more information
    http://techtrainingnotes.blogspot.com/2009/09/sharepoint-hiding-search-box.html
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Encrypt or hide password in sql script from shell

    Hello
    Have I some possibility to encrypt or hide password in this shell script :
    $ORACLE_HOME/bin/sqlplus -S /nolog<<EOF
    connect user/passw3@tns
    select * from dual;
    exit;
    EOF
    thank You
    Brano

    Or do not use login userid/pw at all. Instead use client authentication (externally identified account).
    CREATE USER ops$me identified externally;
    then as me on the host,
    $ORACLE_HOME/bin/sqlplus / >> /dev/null <<EOF1
    select * from dual;
    exit;
    EOF1
    That way your password never has to be stored or passed. Oracle knows that you have been authenticated by the server.

  • Hide password and confirm password feild.

    I am generating random password through pre-insert adapter, so i want to hide password and confirm password feild
    from user creation page. I have already able to hide feilds like start date and all.

    *<!--*
    <tr>
    <td nowrap class="ControlLabel">
    <bean:message key="createuser.label.password"/>
    </td>
    <td align="right">
    <span class="Asterisk"><bean:message bundle="xlDefaultAdmin" key="global.label.asterisk"/></span>
    </td>
    <td>
    <html:password name="manageUserForm" property="password"
    redisplay="false" styleClass="Fields" tabindex="1"/>
    </td>
    </tr>
    <tr>
    <td nowrap class="ControlLabel">
    <bean:message key="createuser.label.confirmpassword"/>
    </td>
    <td align="right">
    <span class="Asterisk"><bean:message bundle="xlDefaultAdmin" key="global.label.asterisk"/></span>
    </td>
    <td>
    <html:password name="manageUserForm" property="confirmPassword"
    redisplay="false" styleClass="Fields" tabindex="2"/>
    </td>
    </tr> -->

  • Hide Password in FTP_CONNCET FM

    Hi,
    In FTP_CONNECT we need to pass user name and password. Here if we pass hard coded password then that thing will be open to all. So my requirement is u201CHow to hide or encrypt FTP user password from user for security reasons?u201D Here I also want to mention that the source code or program name can be hiding from user by setting the tick mark in EDIT LOCK check box in attribute of se38 against the program. But it is not possible to stop access to my Z program source code from those users who are developer or having access to our development or quality server. My sample code is like given below
    CALL FUNCTION 'FTP_CONNECT'
         EXPORTING
    *-- Your SAP-UNIX FTP user name (case sensitive)
           USER            = 'sap1'
           PASSWORD        = u2018test123u2019
    *-- Your SAP-UNIX server host name (case sensitive)
           HOST            = '10.10.1.44'
           RFC_DESTINATION = 'SAPFTP'
         IMPORTING
           HANDLE          = MI_HANDLE
         EXCEPTIONS
           NOT_CONNECTED   = 1
           OTHERS          = 2
    regards,
    -Pk

    Thank you every one for your quick and prompt reply. But I think I need to explain further my requirement. I have developed one Z report program to copy file from ftp location to another server. My Z program will run at back ground , means there is no human intervention. So user can not feed his/her password in a screen.  Again 'AB_RFC_X_SCRAMBLE_STRING' is used to send  an encrypted password to 'FTP_CONNECT' which is requirement or must for 'FTP_CONNECT' FM. If you look at my code given below before using 'AB_RFC_X_SCRAMBLE_STRING' I have to pass password in MC_PASSWORD.
    As suggested by ANUJ SRIVASTAVA to store password in a Ztable ,  but there also if we able to store the password in encrypted form and same can be decrypt at the time of 'FTP_CONNECT u2018 then only it will full fill my purpose.
    So how to hide the password in my source code or store enrypted password in Z table and decrypt the same?
    MY ABAP Code:
    START-OF-SELECTION.
    *-- Your SAP-UNIX FTP password (case sensitive)
    MC_PASSWORD = u2018test'.
    DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN IN CHARACTER MODE.
    *-- FTP_CONNECT requires an encrypted password to work
    CALL 'AB_RFC_X_SCRAMBLE_STRING'
         ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
         ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
         ID 'DSTLEN' FIELD MI_PWD_LEN.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = 'Connect to FTP Server'.
    CALL FUNCTION 'FTP_CONNECT'
         EXPORTING
    *-- Your SAP-UNIX FTP user name (case sensitive)
           USER            = 'userid'
           PASSWORD        = MC_PASSWORD
    *-- Your SAP-UNIX server host name (case sensitive)
           HOST            = 'unix-host'
           RFC_DESTINATION = 'SAPFTP'
         IMPORTING
           HANDLE          = MI_HANDLE
         EXCEPTIONS
           NOT_CONNECTED   = 1
           OTHERS          = 2.
    with warm regards,
    -PK

  • How to hide row from table after logical delete

    Hello.
    I am using Jdeveloper 11.1.1.3.0, ADF BC and ADF Faces.
    I want to implement Logical delete in my application.
    In my Entity object I have Deleted attribute and I override the remove() method in my EntityImpl class.
        @Override
        public void remove()
           setDeleted("Y");
        }and I added this condition to my view object
    WHERE NVL(Deleted,'N') <> 'Y'in my page I have a table. this table has a column to delete each row. I dragged and drop RemoveRowWithKey action from the data control
    and set the parameter to *#{row.rowKeyStr}* .
    I what I need is this:
    when the user click the delete button I want to hide the roe from the table. I tried to re-execute the query after the delete but the row is still on the page. Why execute query does not hide the row from the screen.
    here is the code I used for delete and execute query
        public String deleteLogically()
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc=(DCBindingContainer) bindings;
            DCIteratorBinding iter=dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
            //iter.getViewObject().executeQuery();
            iter.executeQuery();
            return null;
        }as you see I used two method iter.getViewObject().executeQuery(); and  iter.executeQuery(); but the result is same.

    Thank you Jobinesh.
    I used this method.
        @Override
        protected boolean rowQualifies(ViewRowImpl viewRowImpl)
          Object attrValue =viewRowImpl.getAttribute("Deleted"); 
            if (attrValue != null) { 
             if ("Y".equals(attrValue)) 
                return false; 
             else 
                return true; 
            return super.rowQualifies(viewRowImpl);
        }But I have one drawback for using it, and here is the case:
    If the user clicks the delete button *(no commit)* the row will be hidden in the table, but when the user click cancel changes the row is not returned since it is not returned due to the rowQualifies(ViewRowImpl viewRowImpl) (the Deleted attribute is set to "N" now).
    here is the code for delete and cancel change buttons
        public String deleteLogically()
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc = (DCBindingContainer)bindings;
            DCIteratorBinding iter =
                dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
             iter.executeQuery();
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(this.getTakenMaterialsTable());
            return null;
        public String cancelChanges(String iteratorName)
            System.out.println("begin cancel change");
            BindingContainer bindings =
                BindingContext.getCurrent().getCurrentBindingsEntry();
            DCBindingContainer dc = (DCBindingContainer)bindings;
            DCIteratorBinding iter =
                (DCIteratorBinding)dc.findIteratorBinding(iteratorName);
            ViewObject vo = iter.getViewObject();
            //create a secondary RowSetIterator to avoid disturbing row currency
            RowSetIterator rsi = vo.createRowSetIterator(null);
            //move the currency to the slot before the first row.
            rsi.reset();
            while (rsi.hasNext())
                    currentRow = rsi.next();
                    currentRow.setAttribute("Deleted", "N");
            rsi.closeRowSetIterator();
            iter.executeQuery();
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(this.getTakenMaterialsTable());
            return null;
        }as example, if the user initially has 8 rows, then deleted 2 rows, in cancelChanges only 6 rows appears. and the deleted rows are not there??
    any suggestion?

  • How to Hide Row in table view depend on condition

    Dear Friends,
    Please any one suggest how to do hide some rows in table depend on condtions.
    My Issue is :
    I have table with binding componant context controller, with in that some rows are no need to disply in my table, I tried to delete that entities from collection wrapper in do_prepare_output. but that entites are perminatly deleted from model node.
    how can achive this with out delete entities from model node and hide some rows in table view.
    thanks & Regards

    Hi Andrew,
    Please can you explain alobrate, because i wont' found that method in my implimentation and it's table config like follow
    <% IF attr->check_consistency( ) eq abap_true. %>
        <chtmlb:configTable  xml="<%= lv_xml %>"
                             id="TextList"
                             navigationMode="BYPAGE"
                             onRowSelection="select"
                             table="//Text/Table"
                             width="100%"
                             selectedRowIndex="<%=Text->SELECTED_INDEX%>"
                             selectedRowIndexTable="<%=Text->SELECTION_TAB%>"
                             selectionMode="<%=Text->SELECTION_MODE%>"
                             usage="ASSIGNMENTBLOCK"
                             visibleRowCount="3"/>
      <% ENDIF. %>
    thanks & Regards
    Ganesh

  • How to hide fields in table view

    Hi,
    I'm populating the contents of an internal table in a table view. I want to know how to hide few fields in table view. I'm working on classical BSPs.. no MVC and I have not used iterator.
    Thank you
    Sreesanth.

    just to hide certain fields (columns) you dont need iterator. you could use columnDefinition attribute of htmlb:tableView tag.
    to do this declare two page attributes as below
    col_control_tab     TYPE     TABLEVIEWCONTROLTAB
    col_wa     TYPE     TABLEVIEWCONTROL
    now in the oninitialization event. fill col_control_tab with the required column details.
    suppose the itab has columns 1 to 10 and you want to display only column 1 and 8 then the coding would be.
    clear col_wa .
      move: '1' to col_wa-columnname , " field name of column1 in itab
      'This is the title of column1' to col_wa-title ,
      'LEFT' to col_wa-horizontalalignment  .
      append col_wa to col_control_tab .
    clear col_wa .
      move: '8' to col_wa-columnname , " field name of column8 in itab
      'This is the title of column8' to col_wa-title ,
      'LEFT' to col_wa-horizontalalignment  .
      append col_wa to col_control_tab .
    the finally
    <htmlb:tableView id                  = "tv1"
                           design              = "ALTERNATING"
                           selectionMode       = "MULTISELECT"
                           onRowSelection      = "MYROWSELECTION"
                           table               = "<%= flights %>"
                         columnDefinitions   = "<%= col_control_tab %>"
    Regards
    Raja

  • Hide Main Window Table Footer information in only one of three copies

    Hi all, I have a problem regarding Smart Forms.
    So, I have used a Copies Window to display 3 copies(Vendor, HO, Site) of the same PO form.
    Below this I have a Main Window under which Ive defined a Table. The table has a footer which is looped with a different internal table. The Footer displays certain values, the way it is meant to be.
    But now, the problem is that the management does not want certain information (displayed in the footer of the Main WIndow table) to appear in the Vendor Copy and Site Copy. Meaning this information need to be displayed only in the HO copy.
    I tried putting the condition SFSY-COPYCOUNT = '002' on the footer but it doesnt work - nothing is displayed in all copies.
    I cannot create a new Copies Window because this info has to be necessarily placed in the Footer of the Table.
    So the question is, Is there any way I can hide certain Footer data of the Main Window in the HO Copy using any conditions?
    pk

    Ansari,
    Thanks for the reply. Thats a work-around Ive kept aside if I do not get a straight forward solution. Just need to know if theres a simpler solution that I might have overlooked. Tried searching the forums for a simpler solution but didnot find a relevant hit.
    So I'll keep waiting for a little while longer and if nothing come of it, I will go for this work around.
    Thanks again.
    pk

Maybe you are looking for

  • RD Client on Android Remote Resources -

    I'm having an issue with an RDS farm setup. The Android RD Client will not load Work Resources (works on iOS and on PC). It throws a connection error "TLSEndpointException: 6,"  Here are the logs Do not to send this report to untrusted people! This r

  • Can I burn to an audio CD album bought online?

    I just recently bought a couple of albums, can I burn them on an audio CD to listen to them elsewhere?

  • Control key locks

    i have an hp g-71167dx notebook.  my control key show as being locked and i have to turn off my computer to clear it.  pc is only 6 months old.  are there any solutions ?

  • Is OPSS supported on DB2 and SQL Server?

    We are planning to replace our current custom security framework with OPSS and ADF Security. Our product is currently certified against Oracle DB, IBM DB2 and Microsoft SQLServer, with majority of our customers on DB2. We could not find any documenta

  • Delete Abap program via change reqeust

    Hi,     We deleted some ABAP report source code via tcode(SE38) at development system. The system ask insert the delete action to one change request. I have added it to the change request. The ABAP source code have delete at development system. We tr