Announcement

Collapse
No announcement yet.

AuthorizedUsers.txt in addEntitlement()

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AuthorizedUsers.txt in addEntitlement()

    Greetings;

    I like to find out how to protect the AuthorizedUsers.txt file on my web site to preclude hackers from being able to read this file?

    I have tried to encrypted but then the plug in did not work on eSignal platform.

    addEntitlement("http://hot-picks-dolittle-trading.com/AuthorizedUsers.txt",
    "Sorry. Not authorized.","http://hot-picks-dolittle-trading.com");


    Thank you in anticipation

    Muhand

  • #2
    Hello Muhand,

    At present, there isn't an encryption method for protecting the contents of that file that the addEntitlement() function would be able to decode. As an alternative idea, you could create a private file share group on our file share and reference your file from that url.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Thank you

      Greetings;

      Hi Jason;

      I appreciate your quick replay. I would greatfully appreciate it, if you can show me by example. Thank you very much.

      Muhanad

      Comment


      • #4
        Hello Muhanad,

        First, log in to the file share and the link I provided using your forum username and password.

        Then click on "Start a Group" button near the top right side of the page.



        Fill out the form with your desired information and then set the following properties for the group to the "Restricted" options.



        Once your group is created, go into the group (if you're not already in it) and upload your .txt file using the "Upload" button.



        After the file has been uploaded, right-click on the link to the file and select the "Copy Shortcut" option. Paste this url into your addEntitlement() function to replace the current url that is pointing to the .txt file on your server. The rest of your code can remain as it is.
        Jason K.
        Project Manager
        eSignal - an Interactive Data company

        EFS KnowledgeBase
        JavaScript for EFS Video Series
        EFS Beginner Tutorial Series
        EFS Glossary
        Custom EFS Development Policy

        New User Orientation

        Comment


        • #5
          Hello JasonK

          I did exactly what you said in the post below and I could not get it to work. I get the message “Sorry. Not authorized.” Is there a way I can debug what I'm doing wrong.

          the file is there in my share drive, the name of the file is the same in both EFS (preMain) and share drive and the desired login ID is in the EFS file AuthorizedUsers.txt. There is nothing else in the file except the login ID.

          what else is left?

          addEntitlement("http://share.esignal.com/groupcontents.jsp?name=Hytham/AuthorizedUsers.txt", "Sorry. Not authorized.","http://share.esignal.com/groupcontents.jsp?name=Hytham");
          Last edited by ketoma21; 08-14-2007, 05:51 PM.

          Comment


          • #6
            Hello ketoma21,

            I think the URL to your file is incorrect. Log into your file share group, navigate to the location of the file, right-click on the file name and copy that shortcut. It should look similar to something like below. If the file is placed in a sub-folder within your group then there will be a folder name just after the "folder=" portion of the URL.

            http://share.esignal.com//download.jsp?groupid=1048&folder=&file=AuthorizedU sers.txt
            Jason K.
            Project Manager
            eSignal - an Interactive Data company

            EFS KnowledgeBase
            JavaScript for EFS Video Series
            EFS Beginner Tutorial Series
            EFS Glossary
            Custom EFS Development Policy

            New User Orientation

            Comment


            • #7
              Hello JasonK

              Thank you for the quick reply

              I still get the same message “Sorry. Not authorized.”

              Thank you

              Ketoma21
              Attached Files
              Last edited by ketoma21; 08-15-2007, 03:50 PM.

              Comment


              • #8
                Hello ketoma21,

                Let's try another option.

                Within your file share group, scroll to the bottom of the page where the file resides and click on the "Show URLs" button.



                Then copy and paste the URL that is displayed below the file name into your code.

                Jason K.
                Project Manager
                eSignal - an Interactive Data company

                EFS KnowledgeBase
                JavaScript for EFS Video Series
                EFS Beginner Tutorial Series
                EFS Glossary
                Custom EFS Development Policy

                New User Orientation

                Comment


                • #9
                  Thank you so much JasonK

                  that fixed it

                  The URL that showed was different

                  Thank you again

                  Ketoma21
                  Last edited by ketoma21; 08-15-2007, 02:56 PM.

                  Comment


                  • #10
                    Excellent! You're most welcome.
                    Jason K.
                    Project Manager
                    eSignal - an Interactive Data company

                    EFS KnowledgeBase
                    JavaScript for EFS Video Series
                    EFS Beginner Tutorial Series
                    EFS Glossary
                    Custom EFS Development Policy

                    New User Orientation

                    Comment

                    Working...
                    X