[ZendTo] Feature Request: Set Encryption as default for Dropoffs, but don't enforce them

Jules Jules at Zend.To
Fri Dec 27 17:35:45 GMT 2019


Tobias,

Take a look at new_dropoff.tpl around line 956.
You should see a line
if ({$enforceEncrypt}) {
Change this to
if ({$enforceEncrypt}*|| $('#encryptFiles').is(':checked')*) {
and it should do what you want.

I've added this into the main code so it will be in the next beta release.

They add the recipients and files as normal, but the "encrypt all files" 
box will be checked. When they click the Upload button, it will prompt 
them for an encryption password. They can still cancel at that point, 
which will untick the "encrypt all files" box. They then just click the 
Upload button again and it will be happy this time.

Will that do okay?

Cheers,
Jules.

On 20/09/2019 9:49 am, Tobias Tafart via ZendTo wrote:
>
> Hi,
>
> we would like to be able to set encryption as enabled via default for 
> drop-offs, but we don’t want to enforce it.
>
> The other options on the drop-offs page we can control the defaults 
> via changing the templates (by just setting checked="checked"), but 
> for the encryption this won’t work because it won’t ask for the 
> password that way.
> The idea being that we hope to encourage our users to make use of the 
> functionality. The big red banner on top of the page doesn’t seem to 
> do much. We can’t enforce encryption though.
> I hope this should be fairly easy to implement and I suspect others 
> also might have a use for such functionality.
>
> Regards,
>
> *Tobias Tafart*
> System Engineer
>
> next layer | Staatlich ausgezeichnetes Unternehmen 
> <https://www.nextlayer.at/>
>
> *next layer Tele­kommunikations­dienst­leistungs- und Beratungs GmbH*
> 1150 Wien | Mariahilfer Gürtel 37/7
> fon: +43 5 1764-894 | fax: +43 5 1764-900 | m: +43 664 2 1764 94
> web: www.nextlayer.at <https://www.nextlayer.at/>
>
> twitter <https://www.nextlayer.at/twitter>
>
> 	
>
> xing <https://www.nextlayer.at/xing>
>
> 	
>
> linkedin <https://www.nextlayer.at/linkedin>
>
> 	
>
> facebook <https://www.nextlayer.at/facebook>
>
> FN 257486g | HG Wien
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

The current UK shipping forecast:
Irish Sea: Southwest 4 or 5, becoming cyclonic 6 to gale 8, then north 4 to 6.
Slight or moderate, occasionally rough in south. Rain. Good, occasionally
poor.

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20191227/e754839e/attachment.html>


More information about the ZendTo mailing list