Skip to Content

How to protect the login information

Hi,

I'd like to know if there are any means to protect the login information that I must specify when starting the connection to SAP using the .net connector.

Our scenario is that we are using a single SAP user with SAP_ALL, SAP_NEW authorization to login using the .net connector. As I want the connection to be established automatically, so I need to hardcode the password within the login page or in the vs.net project itself.

Now what I want is that when other people/developer tryinh to access directly the source code of either the login page or the project itself, they cannot 'see' the password for the SAP account.

Any ways to achieve this?

Thanks for any suggestions in advance.

Francis

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 05, 2004 at 07:49 AM

    The best way to achieve this is to use one of the Single Sign On (SSO) feature available for the connector. I don't know what kind of application you are writing.

    If it is a web based application and the user is authenticated by a SAP portal, you can use this article:

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/enabling single sign-on for asp.net applications in enterprise portal 6.article

    If it is a web application and the user is authenticated by a Windows logon, you can use this article:

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to use windows nt logon for single sign-on in an sap web application.article

    If it is a Windows Form or Console application, you can use SNC directly, similary as used in SAPGUI. Information on this is in NCo documentation.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.