|
|
Home » Developing U++ » UppHub » Protect package - A starting copy protection system
Re: Protect package - A starting copy protection system [message #29314 is a reply to message #29312] |
Fri, 15 October 2010 11:23   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
koldo wrote on Fri, 15 October 2010 10:54 | Hello Massimo/Honza
Some questions:
- About Protect
It includes MySql package. Is it possible to remove it?
|
MySql is needed for ProtectServer, not for the client.
As I made a single package for both (some include files are needed for both cases) the MySql package is needed.... It'll not be linked in cliente, anyways.
Quote: |
- About ProtectServer
What are the ProtectServer requirements from server and from client side?.
Is ProtectServer a C++ program running on a server?. What is the role of PHP in this?
|
ProtectServer requires, by now, an SCGI capable server, so any http server which can support SCGU. I guess almost all servers do. The PHP version that Honza is developing will relax this need.
For apache2 it's enough to install and enable mod_scgi module, and create a small config file for it. For Ubuntu :
sudo apt-get install libapache2-mod-scgi
sudo a2enmmod scgi
And, in /etc/apache2/config.d folder, add an scgi.conf file with this content (as an example) :
SCGIMount /scgi 127.0.0.1:8787
Where the server is listening on port 8787 on local host (configurable) and the http path for it will be /scgi.
For centos OS it'll just a bit more complicated on step 1, mod_scgi must be manually inserted in apache2.conf.
Anyways, there are many docs on the net to enable SCGI on many http servers... probably I'll add some docs.
ProtectServer is an upp executable. Honza's version will be in PHP and make (maybe) stuffs easier on server side.
Communication is done via encrypted http, so it should pass any routers/firewalls on the way.
ProtectServer NEEDS to run as a daemon / service (it must be continuously running and listening to SCGI port (8787 in my case). It doesn't need to run as root/privileged user.
Quote: |
Would it be possible to use it with other database instead of MySql?.
|
Client is unaware of database type, so the changes are just in server. Honza's PHP is already capable of handling a couple of db engines.
ProtectServer is, by now, tied to MySql, but just because I've no time/no other db engine installed on my server. Adding Postgresql, MSSQL and others should be trivial, as long as they're supported by Upp sql engines.
Quote: |
Thank you for your work .
|
You're wellcome 
Please test it, It's setup on my server, you just need to build and run the client. I've still a nasty bug which makes it crash sometimes, but just in devel mode, not in debug builds... so I still didn't caught it.
Ciao
Max
|
|
|
 |
|
Protect package - A starting copy protection system
By: mdelfede on Sun, 19 September 2010 21:07
|
 |
|
Re: Protect package - A starting copy protection system
By: dolik.rce on Mon, 20 September 2010 00:50
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 10:02
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 13:57
|
 |
|
Re: Protect package - A starting copy protection system
By: dolik.rce on Mon, 20 September 2010 18:29
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 21:38
|
 |
|
Re: Protect package - A starting copy protection system
By: dolik.rce on Mon, 20 September 2010 23:21
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Mon, 20 September 2010 23:38
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Mon, 20 September 2010 08:14
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 22 September 2010 00:52
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 23 September 2010 17:05
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Thu, 23 September 2010 20:39
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 24 September 2010 10:13
|
 |
|
Re: Protect package - A starting copy protection system
By: Zbych on Sat, 25 September 2010 13:36
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sat, 25 September 2010 15:37
|
 |
|
Re: Protect package - A starting copy protection system
By: Zbych on Sat, 25 September 2010 18:03
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sat, 25 September 2010 18:59
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 29 September 2010 22:29
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 30 September 2010 21:30
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 30 September 2010 22:59
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 01 October 2010 08:11
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 01 October 2010 13:53
|
 |
|
Re: Protect package - A starting copy protection system
By: 281264 on Fri, 01 October 2010 21:53
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 01 October 2010 22:36
|
 |
|
Re: Protect package - A starting copy protection system
By: 281264 on Sat, 02 October 2010 16:00
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sat, 02 October 2010 18:08
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sun, 03 October 2010 22:49
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 08 October 2010 12:29
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 08 October 2010 14:10
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sun, 10 October 2010 14:35
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Wed, 13 October 2010 09:11
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 14 October 2010 01:42
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Thu, 14 October 2010 10:45
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 15 October 2010 10:54
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 15 October 2010 11:23
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Fri, 15 October 2010 12:05
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 15 October 2010 12:23
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Sun, 30 January 2011 19:24
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 04 February 2011 01:39
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Fri, 04 February 2011 12:04
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 April 2011 10:02
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 06 April 2011 13:49
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 April 2011 15:23
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 06 April 2011 23:18
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 07 April 2011 14:55
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 08 June 2011 10:08
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Mon, 17 October 2011 21:24
|
 |
|
Re: Protect package - A starting copy protection system
By: ratah on Wed, 28 December 2011 10:54
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Wed, 28 December 2011 13:04
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 01 June 2018 15:43
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: koldo on Mon, 04 June 2018 08:53
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 11:37
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 19:10
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 20:22
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: mdelfede on Wed, 13 October 2010 01:06
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 05 June 2018 21:08
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 08:31
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 09:30
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 10:12
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:16
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:34
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:42
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 13:32
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 15:30
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 07 June 2018 12:26
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Thu, 07 June 2018 13:16
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 12:42
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 13:00
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 14:22
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Fri, 08 June 2018 14:41
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Sat, 09 June 2018 09:49
|
 |
|
Re: Protect package - A starting copy protection system
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Tue, 12 June 2018 20:23
|
 |
|
Re: Protect package - A starting copy protection system
By: Tom1 on Wed, 06 June 2018 12:32
|
 |
|
Re: Protect package - A starting copy protection system
|
Goto Forum:
Current Time: Sat Apr 26 16:06:39 CEST 2025
Total time taken to generate the page: 0.01371 seconds
|
|
|