Source file public?

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Source file public?

Postby Marc Vanzegbroeck » Tue Sep 29, 2020 8:39 am

Hi,

i just installed mod_harbour to play with it.
I noticed that it directly runs the PRG-files without compiling.
Does that mean thay anyone can see the source?
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Source file public?

Postby Antonio Linares » Tue Sep 29, 2020 9:11 am

Marc,

mod_harbour can use PRGs and HRBs files too. HRBs are binary files. To build a HRB file from a PRG file do:

harbour -gh -n testhrb.prg

Even if you use PRGs nobody can see them, in the same way as when you use PHP files, the users can't read them.
Because Apache will provide the PRG to mod_harbour and it will return the result of the PRG once processed.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 4 guests

cron