hello all, i developped an intranet for a shop. I am going to give this intranet with the computer. What can i do to stop them using this intranet on another computer? If they copy the files on another computer it should not work.
maybe use some external files for your php files and dont tell them about it so if they copy it they wouldn't notice about which files they'd need.
if i do that will i hav any problem with speed? Maybe i can require some text file from windows folder and use some encoding for php files
code the program to be password protected so that if someone try to steal it, it still doesn't work. its better to encrypt the code as well.. there are tools to encrypt your php files too
Encrypt and also hard coding your computer name or IP address, so it only can be used on specific computer.
i'd say you must set the IP and lock it into that IP. <?php if ($_SERVER['REMOTE_ADDR'] != '1.2.3.4') { exit('You can not run this script'); } ?> PHP: and encode it
Is the intranet hosted on the computer itself and is it running on linux or win? either way I'd look at the system mac address or similar. Maybe this thread could help: stackoverflow.com/../../whats-a-good-way-to-uniquely-identify-a-computer ROOFIS