Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Updated Protect package
Updated Protect package [message #36774] Tue, 03 July 2012 15:32
mdelfede is currently offline  mdelfede
Messages: 1285
Registered: September 2007
Senior Contributor
Having some 'smart' customers that used to register once a month for the monthly demo with different emails, I've implemented an additional checking on network cards MACs of customers PC.

Now, if you like, you can :

- Record all MACs of connecting clients (ALL, of ALL network cards)
along with emails used to register/connect to application

- Get an email with 'offending' client if he tries to register
again with an already used MAC

- Optionally block registration if client's MAC were already used

Code is not documented, but easy to use as usual; there are those new member functions :

	ProtectServer &SetRecordMACs(bool rec = true);
	ProtectServer &SetNoRecordMACs(void);
	
	ProtectServer &SetCheckExistingMAC(double check = true);
	ProtectServer &SetNoCheckExistingMAC(void);
	
	ProtectServer &SetMACAlertEMail(String const &m);
	ProtectServer &ClearMACAlertEMail(void);
	
	ProtectServer &SetEnforceMAC(bool e);
	ProtectServer &SetNoEnforceMAC(void);



Which I guess are self-explaining.
Default behaviour is to RECORD all macs if client gives them out, NOT enforce MAC from clients (to be able to use old clients...), NO alert mail and NO blocking registration if already used.

Ciao

Max
Previous Topic: AngelScript - AngelCode Scripting Library
Next Topic: Added Eigen
Goto Forum:
  


Current Time: Mon Oct 18 08:49:03 CEST 2021

Total time taken to generate the page: 0.01569 seconds