How to hide requests from a client react js website












0















I have a C# server side web service. but I don't want user can to see my requests like request tab from client's browsers.



now, I haven't been find any solution on SO.
what is the best solution to do this?



I think I can use a node.js server-side and render my reactjs inside it and my node.js send my requests to C# server side. like this:



React.js<--(render)--Node.js--(Send/Receive api's)-->C# 


I don't know if I use a node.js server, my requests will be hidden from clients?



I don't want to use reactjs.net.










share|improve this question























  • In my opinion its a bit of an overkill. Is there a special reason why you don't want your users to be able to view the requests. There are other good methods to hide information

    – Shai Aharoni
    Dec 31 '18 at 6:53






  • 1





    The user shouldn't be able to see the requests made by node to your c# backend. Is there a specific set of requests or specific information you are trying to hide? The requests made by the browser (react) to node is shown in the request tabs.

    – Alex
    Dec 31 '18 at 6:55













  • @Alex my data is critical data. I don't want to send request to node.js. I want to node.js render my react. is it possible?

    – S.M_Emamian
    Dec 31 '18 at 6:58











  • how about bundling your react code into a single file, put the bundle file and all the html and css into a cloud storage provider or firebase and serve it from there?

    – omarwaleed
    Dec 31 '18 at 8:13











  • What's the point here? They are still going to see 1) the initial request to the Node server, and 2) response from the Node server that contains the data pulled from the C# request. They can still fire off the request to node and see the resulting API data.

    – lux
    Dec 31 '18 at 15:01
















0















I have a C# server side web service. but I don't want user can to see my requests like request tab from client's browsers.



now, I haven't been find any solution on SO.
what is the best solution to do this?



I think I can use a node.js server-side and render my reactjs inside it and my node.js send my requests to C# server side. like this:



React.js<--(render)--Node.js--(Send/Receive api's)-->C# 


I don't know if I use a node.js server, my requests will be hidden from clients?



I don't want to use reactjs.net.










share|improve this question























  • In my opinion its a bit of an overkill. Is there a special reason why you don't want your users to be able to view the requests. There are other good methods to hide information

    – Shai Aharoni
    Dec 31 '18 at 6:53






  • 1





    The user shouldn't be able to see the requests made by node to your c# backend. Is there a specific set of requests or specific information you are trying to hide? The requests made by the browser (react) to node is shown in the request tabs.

    – Alex
    Dec 31 '18 at 6:55













  • @Alex my data is critical data. I don't want to send request to node.js. I want to node.js render my react. is it possible?

    – S.M_Emamian
    Dec 31 '18 at 6:58











  • how about bundling your react code into a single file, put the bundle file and all the html and css into a cloud storage provider or firebase and serve it from there?

    – omarwaleed
    Dec 31 '18 at 8:13











  • What's the point here? They are still going to see 1) the initial request to the Node server, and 2) response from the Node server that contains the data pulled from the C# request. They can still fire off the request to node and see the resulting API data.

    – lux
    Dec 31 '18 at 15:01














0












0








0








I have a C# server side web service. but I don't want user can to see my requests like request tab from client's browsers.



now, I haven't been find any solution on SO.
what is the best solution to do this?



I think I can use a node.js server-side and render my reactjs inside it and my node.js send my requests to C# server side. like this:



React.js<--(render)--Node.js--(Send/Receive api's)-->C# 


I don't know if I use a node.js server, my requests will be hidden from clients?



I don't want to use reactjs.net.










share|improve this question














I have a C# server side web service. but I don't want user can to see my requests like request tab from client's browsers.



now, I haven't been find any solution on SO.
what is the best solution to do this?



I think I can use a node.js server-side and render my reactjs inside it and my node.js send my requests to C# server side. like this:



React.js<--(render)--Node.js--(Send/Receive api's)-->C# 


I don't know if I use a node.js server, my requests will be hidden from clients?



I don't want to use reactjs.net.







javascript node.js reactjs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 31 '18 at 6:49









S.M_EmamianS.M_Emamian

6,330754107




6,330754107













  • In my opinion its a bit of an overkill. Is there a special reason why you don't want your users to be able to view the requests. There are other good methods to hide information

    – Shai Aharoni
    Dec 31 '18 at 6:53






  • 1





    The user shouldn't be able to see the requests made by node to your c# backend. Is there a specific set of requests or specific information you are trying to hide? The requests made by the browser (react) to node is shown in the request tabs.

    – Alex
    Dec 31 '18 at 6:55













  • @Alex my data is critical data. I don't want to send request to node.js. I want to node.js render my react. is it possible?

    – S.M_Emamian
    Dec 31 '18 at 6:58











  • how about bundling your react code into a single file, put the bundle file and all the html and css into a cloud storage provider or firebase and serve it from there?

    – omarwaleed
    Dec 31 '18 at 8:13











  • What's the point here? They are still going to see 1) the initial request to the Node server, and 2) response from the Node server that contains the data pulled from the C# request. They can still fire off the request to node and see the resulting API data.

    – lux
    Dec 31 '18 at 15:01



















  • In my opinion its a bit of an overkill. Is there a special reason why you don't want your users to be able to view the requests. There are other good methods to hide information

    – Shai Aharoni
    Dec 31 '18 at 6:53






  • 1





    The user shouldn't be able to see the requests made by node to your c# backend. Is there a specific set of requests or specific information you are trying to hide? The requests made by the browser (react) to node is shown in the request tabs.

    – Alex
    Dec 31 '18 at 6:55













  • @Alex my data is critical data. I don't want to send request to node.js. I want to node.js render my react. is it possible?

    – S.M_Emamian
    Dec 31 '18 at 6:58











  • how about bundling your react code into a single file, put the bundle file and all the html and css into a cloud storage provider or firebase and serve it from there?

    – omarwaleed
    Dec 31 '18 at 8:13











  • What's the point here? They are still going to see 1) the initial request to the Node server, and 2) response from the Node server that contains the data pulled from the C# request. They can still fire off the request to node and see the resulting API data.

    – lux
    Dec 31 '18 at 15:01

















In my opinion its a bit of an overkill. Is there a special reason why you don't want your users to be able to view the requests. There are other good methods to hide information

– Shai Aharoni
Dec 31 '18 at 6:53





In my opinion its a bit of an overkill. Is there a special reason why you don't want your users to be able to view the requests. There are other good methods to hide information

– Shai Aharoni
Dec 31 '18 at 6:53




1




1





The user shouldn't be able to see the requests made by node to your c# backend. Is there a specific set of requests or specific information you are trying to hide? The requests made by the browser (react) to node is shown in the request tabs.

– Alex
Dec 31 '18 at 6:55







The user shouldn't be able to see the requests made by node to your c# backend. Is there a specific set of requests or specific information you are trying to hide? The requests made by the browser (react) to node is shown in the request tabs.

– Alex
Dec 31 '18 at 6:55















@Alex my data is critical data. I don't want to send request to node.js. I want to node.js render my react. is it possible?

– S.M_Emamian
Dec 31 '18 at 6:58





@Alex my data is critical data. I don't want to send request to node.js. I want to node.js render my react. is it possible?

– S.M_Emamian
Dec 31 '18 at 6:58













how about bundling your react code into a single file, put the bundle file and all the html and css into a cloud storage provider or firebase and serve it from there?

– omarwaleed
Dec 31 '18 at 8:13





how about bundling your react code into a single file, put the bundle file and all the html and css into a cloud storage provider or firebase and serve it from there?

– omarwaleed
Dec 31 '18 at 8:13













What's the point here? They are still going to see 1) the initial request to the Node server, and 2) response from the Node server that contains the data pulled from the C# request. They can still fire off the request to node and see the resulting API data.

– lux
Dec 31 '18 at 15:01





What's the point here? They are still going to see 1) the initial request to the Node server, and 2) response from the Node server that contains the data pulled from the C# request. They can still fire off the request to node and see the resulting API data.

– lux
Dec 31 '18 at 15:01












1 Answer
1






active

oldest

votes


















1














If you're making a HTTP request to node server, and making the stealth request from NodeJS to another server, that request will not be visible to the client.



Alternatively, you can make an encrypted request. Although URL and some part of encryption algorithm will still be exposed at client's end.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53984468%2fhow-to-hide-requests-from-a-client-react-js-website%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    If you're making a HTTP request to node server, and making the stealth request from NodeJS to another server, that request will not be visible to the client.



    Alternatively, you can make an encrypted request. Although URL and some part of encryption algorithm will still be exposed at client's end.






    share|improve this answer




























      1














      If you're making a HTTP request to node server, and making the stealth request from NodeJS to another server, that request will not be visible to the client.



      Alternatively, you can make an encrypted request. Although URL and some part of encryption algorithm will still be exposed at client's end.






      share|improve this answer


























        1












        1








        1







        If you're making a HTTP request to node server, and making the stealth request from NodeJS to another server, that request will not be visible to the client.



        Alternatively, you can make an encrypted request. Although URL and some part of encryption algorithm will still be exposed at client's end.






        share|improve this answer













        If you're making a HTTP request to node server, and making the stealth request from NodeJS to another server, that request will not be visible to the client.



        Alternatively, you can make an encrypted request. Although URL and some part of encryption algorithm will still be exposed at client's end.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 31 '18 at 11:35









        darth-coderdarth-coder

        14711




        14711






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53984468%2fhow-to-hide-requests-from-a-client-react-js-website%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas