Results 1 to 3 of 3
  1. #1

    How to Hide or Change the IP Address that Appears in the create_session.js File

    Hello,

    I'm using web client to make a subscription to Lightstreamer server, and due to security reasons, we need to hide or change the IP address parameter that appears in the create_session.js file, that call "start" method.

    Is there a way to configure this on Lightstreamer server, or it is the default behavior?

    Thanks in advance.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,047
    The Server response to create_session includes the client IP as seen by the Server.
    However, the behavior can be configured with the <client_identification> block within the configuration of the listening port.
    See the inline comment in the factory configuration file for details.
    In particular, you should add the "private" attribute to <client_identification>.

    Moreover, I suppose that the IP address that you see is not the client address but an internal address on your side.
    This can also be fixed by properly configuring the <client_identification> block.
    In fact, even if not sent to the client, this IP is useful to identify the clients in the Server log file.

  3. #3
    Hello Dario,

    Thanks for the reply, I made the changes in the config file and it worked great just as I need it to.

    Regards

 

 

Similar Threads

  1. <tr>hide-item unsubscribed
    By georgeeapen in forum Client SDKs
    Replies: 14
    Last Post: July 4th, 2012, 08:46 AM
  2. Will session id change when connection mode change?
    By LS_Developer in forum Client SDKs
    Replies: 3
    Last Post: March 6th, 2012, 08:58 AM
  3. Replies: 1
    Last Post: March 2nd, 2012, 09:46 AM
  4. Replies: 5
    Last Post: February 22nd, 2008, 10:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:51 PM.