Jump to content

js/common/js

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
TheAntBully

TheAntBully

    Newbie

  • Members
  • Pip
  • 2 posts
Hello -

I'm part of a new incident response team within a medium size company. I am not a programmer, rather a forensics analyst. Would you programmers be able to tell me a little more about js/common/js as it appears at the end of a website. Should this be available to access through a browser, so any 'joe' can see the context? Or is this a server risk?

Thank you

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Did you mean js/common.js? If so, that as an integral part of the website. Without that file being available, users cannot interact correctly with the website.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
TheAntBully

TheAntBully

    Newbie

  • Members
  • Pip
  • 2 posts
thank you for the response. i did mean js/common.js. what is the purpose of a regular user being able to see that code? is it just meant for programming purposes for the website developer?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The common.js is a separate file containing the javascript code that is supposed to run in the browser as part of the site. The details of what is in it will vary from site to site, but it does not run on your server, it runs in your clients' browsers.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog