Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Floating license server for TC
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
misiekt
Junior Member
Junior Member


Joined: 15 Mar 2012
Posts: 12

PostPosted: Thu Mar 15, 2012 5:15 pm    Post subject: Floating license server for TC Reply with quote

Hello,

I would like to ask to consider creating some kind of floating license server, which would hold main wincmd.key and lend to users some kind short term (ie. for day, up to week) temporary license keys.

One would set license server connection, user and password, and it would be requested once short term license expired. It would easily control number of concurrent licenses in use, which is TC policy as i saw in FAQ.

I'm asking this because I'm corporate admin, and my company bought 100 licenses for TC. For about 3 years it was working just fine, but finally with new version i found out that my key was leaked to public.

So I'm planning to upgrade it, since old one is no longer valid. But if its going to stay the way it is now - unlimited key on every computer, with free access to copy - then it's only matter of time when next disgruntled employee is going leak it again.

Please consider my suggestion. Thank you.
Back to top
View user's profile Send private message
Sir_SiLvA
Power Member
Power Member


Joined: 06 May 2003
Posts: 2602

PostPosted: Thu Mar 15, 2012 6:30 pm    Post subject: Reply with quote

So you fail to control your IT Security and want Chris to fix your problem?
How about stoping the "free access to copy"?

I doubt Chris will ever do what you propose cause it makes no sense at all - how should TC see wich license it should look for?
It would mean more work then use...
Back to top
View user's profile Send private message
misiekt
Junior Member
Junior Member


Joined: 15 Mar 2012
Posts: 12

PostPosted: Thu Mar 15, 2012 11:51 pm    Post subject: Reply with quote

Quote:
So you fail to control your IT Security and want Chris to fix your problem?
How about stoping the "free access to copy"?


I wrote response to that, but then i discarded it, because solution seems more important. In a nutshell, you're wrong on few levels. And for sake of rest of the text, i don't deal with workstations, just servers.

Quote:
I doubt Chris will ever do what you propose cause it makes no sense at all


I've got few license servers f.e. FlexLM or HASPLM, which allow me to control licenses. It's common practice, not something i pulled from nowhere. Unless, of course, those developers make it just for kicks, since apparently it makes no sense at all...
I'm sure it's more useful feature than different colour of icon for TC, in the topic i saw earlier.

Quote:
how should TC see wich license it should look for?

Just let define server/user/pass in TC options and put checkbox that it should be used. Dunno whats complicated about that.

There is already HTTP protocol implemented, so it could be used as authentication/transport layer easily. Not much work here too.

Server side is bit more complicated, but can be based on simple HTTP server (like nginx with FastCGI). It would keep master key which allows f.e. 10 licenses and CGI script/program. When TC requests license CGI generates temporary one valid for a week, and substracts one from license pool. TC receives that over HTTP and saves to local machine.
After a week provided license is void, and server increases number of available ones. Of course there should be early return possible too, because renewal should be attempted at each startup if server is available at the time.

On final note. Most important is program that just generates temporary licenses based on valid multiuser key. Best if program is portable to run server under *nix. And of course version of TC that respects those time limited keys.
One can deal with client/server architecture part with other means. Althou integrated solution would be nice since most of it is there already.

Best regards.
Back to top
View user's profile Send private message
Sir_SiLvA
Power Member
Power Member


Joined: 06 May 2003
Posts: 2602

PostPosted: Fri Mar 16, 2012 12:28 am    Post subject: Reply with quote

misiekt wrote:
One can deal with client/server architecture part with other means. Althou integrated solution would be nice since most of it is there already.


Sorry in Case of TC this would be complete OVERKILL...
Back to top
View user's profile Send private message
theosdikaios
Senior Member
Senior Member


Joined: 04 Feb 2006
Posts: 219

PostPosted: Fri Mar 16, 2012 1:44 am    Post subject: Reply with quote

2Sir_SiLvA What is your solution for this problem: you haved payed a great number of licences and every user should work with a licenced version. But you cann't supervise every user that he will not leak the licence to public?
_________________
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
Back to top
View user's profile Send private message Send e-mail
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 659

PostPosted: Fri Mar 16, 2012 2:28 am    Post subject: Reply with quote

Yes, the "license server" idea would be an overkill. But a simple command line utility, that would generate temporary keys based on a master key, does sound as a reasonable solution. However I'm not sure how much work it would be for the author to implement it.
_________________
Windows 7 Pro x64, Windows 8 Pro x64
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4528
Location: Russian Federation

PostPosted: Fri Mar 16, 2012 2:41 am    Post subject: Reply with quote

Private key is required to generate license key so it is absolutely unsafe to share tool that generates keys. But I think some web service may be used for such task: you send your key file and get temporary ones (e.g. weekly; maybe even e-mail service), or you simply download encrypted archive with temporary key using dynamic link (real key's hash is used as a password). But this will require TC support for temporary keys and adding such web service... And, all clients will need to update keys time to time (some script may be used to copy new keys to user computers within network).
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…


Last edited by MVV on Fri Mar 16, 2012 2:49 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 3552
Location: Europe, Aachen

PostPosted: Fri Mar 16, 2012 2:47 am    Post subject: Reply with quote

History.txt wrote:
28.04.10 Added: Store key also in registry (binary value "key" under Total Commander key) - must be set via keypath=$ in wincmd.ini

Should make it significantly more difficult for the normal user to copy the key.

Quote:
I've got few license servers f.e. FlexLM or HASPLM
And the software protected with this "expensive" solutions is shareware?

Quote:
But a simple command line utility, that would generate temporary keys based on a master key

And in consequence a lot of keyfile generators or temporary keys with expire date 2099 would float the internet....

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 659

PostPosted: Fri Mar 16, 2012 3:29 am    Post subject: Reply with quote

HolgerK wrote:
And in consequence a lot of keyfile generators or temporary keys with expire date 2099 would float the internet....

The generator would be freely available, since it would need a normal (valid) key to create temp keys. Also why should those keys contain an expiration date? A creation date would be enough and TC would be hardcoded to ban them after 7 days from that date (just an example).

Also let's see the weak links of this solution.
1. Cracking the generator - useless, there is nothing to gain.
2. Cracking the TC - already possible today (however not used very often since there are easier ways).
3. Stealing the main key - already happens today. But this way, companies could store it in just one safe place instead of hundreds of computers.
4. Stealing temp keys - hardly useful, since they expire in a week after their creation (unless you crack the TC which would make this redundant anyway).

edit:
Ok, now when I'm reading it again, there might be some problems with security of the generator. MVV's solution seems to be better.
_________________
Windows 7 Pro x64, Windows 8 Pro x64
Back to top
View user's profile Send private message Send e-mail
Sir_SiLvA
Power Member
Power Member


Joined: 06 May 2003
Posts: 2602

PostPosted: Fri Mar 16, 2012 7:00 am    Post subject: Reply with quote

theosdikaios wrote:
2Sir_SiLvA What is your solution for this problem: you haved payed a great number of licences and every user should work with a licenced version. But you cann't supervise every user that he will not leak the licence to public?


Easy: let them use a TC without an access to a key if you cant trust your employes....
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4528
Location: Russian Federation

PostPosted: Fri Mar 16, 2012 7:14 am    Post subject: Reply with quote

Sir_SiLvA, and how do you suggest to use TC w/o access to a key? As unregistered version?
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
Sir_SiLvA
Power Member
Power Member


Joined: 06 May 2003
Posts: 2602

PostPosted: Fri Mar 16, 2012 8:37 am    Post subject: Reply with quote

2MVV, ofc and I dont think that Chris would see that as illegal use...
Back to top
View user's profile Send private message
misiekt
Junior Member
Junior Member


Joined: 15 Mar 2012
Posts: 12

PostPosted: Fri Mar 16, 2012 9:33 am    Post subject: Reply with quote

Quote:
And the software protected with this "expensive" solutions is shareware?


Of course not, and i realize its not an option for TC, because its too expensive to licence, just gave an known example.
But thats why i propose simpler solution.


Quote:
Easy: let them use a TC without an access to a key if you cant trust your employes....


As I said before. I dont want to turn this into sec discussion. I know there are ways to do that. But maybe for a while you may consider that not everyone is living in perfect Windowsland, with only Office to worry about.
For start I have few programs used in production, that require admin access under XP or W2K, nothing i can do about it. And that is just tip of an iceberg.

You can dazzle us with elaborate sec proposal, which we will poke holes in, and I dont want to go there. People care about getting their job done, and they couldnt care less about their PC being sec tight.


Quote:
Private key is required to generate license key so it is absolutely unsafe to share tool that generates keys.


Again one key idea. Its obvious that original TC private key, used for generating keys now, wouldnt be shared with customers.

But they can get their own private and public key (public or both encrypted with original master key, as its is with wincmd.key now) which would allow TC recognize keys generated with private customer keys.
Key.gen would generate temporary keys based on info on customer private key.

Rest of sec concerns is mostly pointed out by Umbra.Nothing to add there. And you can always invalidate customer public key aswell, if private half should leak.

As for overkill argument. As I said before. Most facilities are in TC already, it just have to be aware of possibility getting key from HTTP server. You can do it now already manually entering URL in TC.

It could be done with current key. But then again it wouldnt be perfect since user/password had to be stored inside TC instalation.
Hence temporary keys, since they resolve problem. Even if someone would gain acces, they wouldnt steal master key, just temp one.

And what MVV mentioned about TC support facility. I aware of that posibility, but I intentionally skipped that idea, as i imagine constant service is too much to ask. Only one shot effort into coding some feature is feasible. And selling key to customer, but is obvious.

My proposal wouldnt add to mr. Ghislers licence management effort, just improve on current bad "one key to rule them all" idea. And we all know how that ended...
Back to top
View user's profile Send private message
siealex
Member
Member


Joined: 22 Mar 2009
Posts: 117

PostPosted: Fri Mar 16, 2012 10:29 am    Post subject: Reply with quote

I think this is a wrong way... TC must not be shareware, it must be a component of Windows.
_________________
We are not so S.M.A.R.T. as we imagine...
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24602
Location: Switzerland

PostPosted: Fri Mar 16, 2012 10:53 am    Post subject: Reply with quote

I have already considered to offer such a licence server. But what would prevent anyone from putting it on the public internet, so everyone could use it for free? This would most certainly happen if the network of a company would be hacked and the server stolen...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group