Reveal detailed license-errors?

So after one has programmed and integrated a licensing solution into his or her application, how should one deal with licensing errors?

My understanding is:
Show whether a license is valid or invalid – and report if the license server is not reachable. Nothing more, nothing less.

Licenses could be invalid due to a variety of reasons: Invalid Machine-Code, maximum number of activations reached, invalid licensed version…

But should we report them to the user or just tell him “okay”, “not okay” or “license server not reachable”?

I don’t know if this is the right place to ask, maybe security.stackexchange.com is more suitable, but that could be true for ux.stackexchange.com, too… So I’m asking it here.

In my view what you’re proposing is exactly correct. Only reveal what’s necessary.

From a security point of view if you consider an “attacker” trying to learn from why the license is wrong the correct way to handle the situation is to leak no information. For example if you try to “optimize” the user experience by being nice and telling the user that “It seems the license is otherwise valid but the last few characters contain an error. Please re-check them and try again!” it is very obvious that this gives information away to the attacker which can then be used to defeat the licensing procedure by being able to guess a correct license.

Sometimes the possible security considerations are not just about securing your own product/service but to actually secure that of your customers too. As an example consider this: I have licensed your software with my username + license. Now, if your software is “kind” enough to let the user know if the username was incorrect or if the license digest was incorrect the software leaks information. A malicious user could use this feature to determine if I as your customer use or at least have licensed your software. This is a potential security issue against me, your customer rather than against you or your service. “Funnily” enough, something similar has lead to divorces for married couples when the suspecting other has been able to figure out if their partner has registered on a dating website with their personal email.

There are other forms of leaking information too, but they are side channel attacks such as measuring the power consumption or the time it takes to verify a given license and trying to modify it so that giving a bit different license produces different timing information and as such can possibly reveal if the modifications modifed the input license towards a legit one or not. To counter such side channel attacks one would need to be able to create such an implementation of the license validation measure which does not leak this information. Such as the validation taking constant time(to a nanosecond precision, mind you, so we’re talking about exact identical amount of CPU cycles for example) regardless of whether the given license for validation is valid or not.

10

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật