TorontoJim has asked for the wisdom of the Perl Monks concerning the following question:

Can a lady or gentleman please help me find the correct resource. I am looking for information that I can use in an app I'm building.

It will be run on a LAN behind a firewall. It would be far more convenient if the user could be logged in automatically if they are already logged in to the network it is running on. So, I'm seeking information on accessing a network users's userid and login status. I'm not looking for specific code, just guidance to the proper keywords or terms that I need to research to achieve this end goal, if it is even possible.

I don't mind doing the legwork, I just don't know what the specific legwork is that I must do right now.

  • Comment on Seeking a way to access a network user's ID

Replies are listed 'Best First'.
Re: Seeking a way to access a network user's ID
by marto (Cardinal) on Jan 29, 2023 at 12:07 UTC
      Thank you. It's a starting point and will reveal more for me to pursue I'm sure. I'll find out what they are authenticating with.
Re^2: Seeking a way to access a network user's ID
by rizzo (Curate) on Jan 29, 2023 at 16:23 UTC

    Are you probably looking for (Open)SSH with host based authentication?

    Edit: Sorry, wrong level. Should have been an answer to the OP.

    2023-02-05 Athanasius reparented to OP

      Thank you for something else to look into!
Re: Seeking a way to access a network user's ID
by NetWallah (Canon) on Jan 30, 2023 at 01:32 UTC
    Are users redirected to your App from a landing/Home page ?
    If not - it may be worthwhile to introduce this layer - for future apps , and to externalize security.

    The landing page can take on authentication responsibility, and pass a token with the redirect.
    It also gives you the opportunity to implement authentication later, after the app is ready.

    Another advantage of a landing page is that it could display app status, such as during an outage, or maintenance.

                    "These opinions are my own, though for a small fee they be yours too."