anadius / gd-efc

Google Drive - encrypted folder copy
https://anadius.github.io/gd-efc/
383 stars 176 forks source link

How To Use ? #11

Closed rahulmasal closed 3 years ago

rahulmasal commented 3 years ago

Dear Team,

Please share step by step guide to host and install the script... and how to encrypt?

anadius commented 3 years ago

Just use the build page. If you want to let other people encrypt links with your server too then check those optional boxes. If not, just use the STATIC_ENCRYPTION/encrypt.html file.

As for hosting - if you want to use CloudFlare Workers just copy the contents of WORKER/worker.js. If you want to host it on a PHP server just add PHP/decrypt.php and PHP/.htaccess files.

rahulmasal commented 3 years ago

i already copied files in php based hosting then what to do ?? in php based hosting ???

i want to encrypt links from same server then ??? but only for me not for others ??

please guide i am new in this :(

rahulmasal commented 3 years ago

image

rahulmasal commented 3 years ago

image

files generated with all options selected !

rahulmasal commented 3 years ago

for encryption i want to use same php server for encryption then what to do??

image

anadius commented 3 years ago

If you want to host the decryption site (https://anadius.github.io/gd-efc/) then you're on your own. My tool was never meant to be rehosted somewhere else but people still do it. I'm not going to help with that.

If you want to have the encrypting available on your server but only for you - you're on your own. From the build page you get the static encryption which you can keep on your PC just for you or you can check the optional boxes and have it on your server for everyone. If you want something else - do it yourself.

Intended use: let's say you have a web server at https://example.com/ and want the decryption server to be available at https://example.com/decrypt. Open the build page, set "decryption server" to https://example.com/decrypt, generate the key, click "download files". Then upload both of the files in PHP folder to your web server to decrypt subfolder. Copy Google Drive link (file or folder), encrypt it with STATIC_ENCRYPTION/encrypt.html. Then you can open that encrypted link on https://anadius.github.io/gd-efc/.

rahulmasal commented 3 years ago

Thanks for help!

and what about heroku ?? how to encrypt links if we deploy ??

anadius commented 3 years ago

As I already said, use the STATIC_ENCRYPTION/encrypt.html for encrypting links.

rahulmasal commented 3 years ago

PHP folder contains encrypt, decrypt and .htaccess files what are use of them?

anadius commented 3 years ago

The build page tells you what they are.