Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Read hostdomain over VPN

by pryrt (Abbot)
on Nov 16, 2020 at 15:18 UTC ( [id://11123692]=note: print w/replies, xml ) Need Help??


in reply to Read hostdomain over VPN

I don't have a solution/implementation to the exact request that you made, but do have a couple high-level comments:

It seems to me that relying on internal hostdomain settings to get access to the right functions for the tool is fraught with danger: all it takes is for one user to know that this is how you enable a given featureset, and if he can figure out the hostdomain for a company that's paid you more $$$ to get more features activated, he may then spoof being from that other company, and get extra features for free.

I would think a better way would be to give each company unique license files, and have the application transmit some identifier based on the license file when it's talking with the server (maybe using Public Key Authentication), and have the server only activate the features when given a license key that has those features available.

Replies are listed 'Best First'.
Re^2: Read hostdomain over VPN
by Takamoto (Monk) on Nov 16, 2020 at 15:41 UTC

    Hi Pryrt

    Thank you for your comment. I agree with you and this is the way most features/license control is done in my application. But for a specific set of features, I need to assure (or try to the best degree I can) that the tool is only used inside the company (physically) or - because of the new normal 'home office' - or with a computer connected to a company VPN. Of course, this limitation can be overcome with only a bit of knowledge, but for my 'low-level requirements' would do the job. So anything that could read - in Perl - some info from the VPN, would work for my case.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-23 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found