codew supports this item


12 comments found.

Hi …demo is not working :(

Oops sorry … wrong post …

What encryption type and level does the class employ?

I have spent some time on the script and found that it works flawlessly as stated in the documentation. The only thing lacking is a gui for sales to take off!!

Thank you for your feedback, maybe soon i will work on that.

Do you think PHP’s built-in streams extension with mcrypt encryption filter would be faster and more efficient with large files?

Good script! GLWS codew :)

Thank you :)

Very good script, good work Boyarov! :)

P.S – Ako iskash mojesh da me namerish na Skype: extreemer55, za da obmenqme opit i suveti.

Thank you :)

Nice work, GLWS! :)

Thank you :)

Live demo?

Hello, no live demo is provided, but you can lookup what output is given after a file is locked on this link:

- The locked(encrypted) file is generated with extension – .”loff” in the folder where the original file was.

- When you call $locker->unlock(); on a locked file, then you will recive the original file with its original extension on the same folder where the locked files was.

$(function(){ hd: { “720p” : “”, “480p” : “” }

It can protect the url of the link to see the video It? ex.

Hello codew,

One question : I code and sell PHP scripts. To protect them, i use a self-made licensing system on my server. Each of my scripts “calls home” to check license validity and that portion of the code is protected by ioncube. BUT. My server runs on http, not hrrps, which means that any man in the middle wiresharking the connection between script and server could find out the licensing mechanism.

My point is, could this be used to encrypt the licensing part of my scripts and would it be more secure than encoding with ioncube ?

Hello zoxee,

Can you tell me what exactly your scripts are sending to the your server and is the sent data always the same?

If is like this, you could do an encryption on the licensing part of each of your scripts on server side with a private key for each of them.

Those encrypted licensing parts are then distrubed with your selled items.

So the check process will be:

1. Sending encrypted licensed data from your script to the server. So if anyone get the licensed data – it cannot do anything with it(not readable), becouse they won’t have the private key to decrypt the data.

2. The server gets the data and decrypt it with the proper private key.

3. Server does the check with the decrypted data and returns response.


Now something about HBLocker. It is mainly for encrypting file contents and making the file non executable and readable, so to be passed securley on the internet and only the sender and reciver to have the key for encrypting/decrypting.

In your case the server is the sender and the reciver.

But you can use it too for encrypting only data (not files). In the item their is a file with a class wich only encrypts/decrypts any data (not files).

Does this plugin support the ability to encrypt a submission form that allows a user to upload a file?

For now this plugin does’t support client side encryption. It could be added in future updates. A JS must be written for client side which encrypts the uploaded file before is send to the server.

In your case I suggest you to use SSL/TLS protocol for the connection, that’s all you need. :)

Show me :)

Hello. I have an app that upload files in to hosted directory. The problem is the file is in plaint, and can be seen by the host user. I want it unreadable. Is this app can be plugin to my application (CI3) and it will encrypt the file before write to storage. and decrypt on requested by Client side? Thanks youl.

Hello, you can do something like that: When a file is uploaded you call the HBLocker and encrypt the file. Later when you need the file the client side must call some controller with a reference indicator for the file, 1.) the controller get’s the encypted file source. 2.) Creates some temporary file with the encrypted source. 3.) Call the HBLocker to decrypt the temporary file. 4.) Get the decrypted file source 5.) Create a response from controller with the decrypted source and set correct content-type. 6.) The original file now is downloaded to client side 7.) Remove temporary file.

The downside of that is that you must create a temporary file.

Another way is to edit the plugin to accept raw source, so when the Controller gets the encrypted source it must directly give it to the HBLocker to decrypt and return decrypted source, no need of temporary file here.

But if the host user can view your files, he can view the method of encrypt/decrypt and use it.

But if the host user can view your files, he can view the method of encrypt/decrypt and use it.

nice work gud luck