如何禁止HTML5下载为MMAP和HTML5(如图) How to block HTML5 downloads for MMAP and HTML5

H K. shared this question 22 months ago
Discussion Open

我做了个思维导图 想生成HTML5分享出去给其他人观看

但我不想观看的人获得我的源文件

我发现HTML5演示选项 里面有下载选项 这能让别人获取我的源文件 现在我需要禁止这个选项

请问我该如何去禁止 以保护我自己的源文件
a81d19e990b0ee39fbc300934e39e80f


I made a mind map and want to generate HTML5 and share it for others to watch

but I don't want people viewing my source files

I found out that there is a download option in the HTML5 demo option, which allows others to get my source files, now I need to disable this option

How can I ban to protect my own source files

Best Answer
photo

我懂你说的 但是这样转换出来的H5 依旧能够被下载 我试过了 只要我在H5里面添加对应的按钮代码就能下载

对了思维导图导出成H5后 里面的加密代码是否是普通加密方法 我是否能够通过网络上的工具来解密 我想知道加密的方式

因为我需要解密H5后然后写入自己的业务逻辑代码 因为不解密的话 我添加的逻辑代码很容易被替换掉b5207d904bc49e0dc5823659d0850219

Replies (1)

photo
1

Suggestion 1) place a watermark in the background of your map. (in windows version you do that under Design ribbon, Background, select an image and change transparancy and select watermark

Suggestion 2) Create a publish instead and under options you can block the source from downloading.

photo
1

你好 我按照你说的方法去做

我点击发布后生成的链接

在出现的网页里 按F12之后在浏览器里添加下面这段代码

<button data-tooltip="下载" class="btn btn-download">下载</button>

依旧会出现下载按钮 并且点击按钮依旧能下载源文件

Hello, I will do it the way you said
I click the link generated after publishing
Add the following code to the browser after pressing F12 in the page that appears
<button data-tooltip="Download" class="btn btn download">Download</button>
The download button will still appear and you can still download the source file by clicking the button

photo
1

You can switch download OFF via

Select Advanced Options see Image 1 (it is in Dutch but the location of the buttons are the same in any language)


And Next Untick the Download Box, see image 2


That should do it


53a12769381e1dfd5538bdbb2214d922


cdd97e79036976638bee315207ec5b3b

photo
1

我懂你说的 但是这样转换出来的H5 依旧能够被下载 我试过了 只要我在H5里面添加对应的按钮代码就能下载

对了思维导图导出成H5后 里面的加密代码是否是普通加密方法 我是否能够通过网络上的工具来解密 我想知道加密的方式

因为我需要解密H5后然后写入自己的业务逻辑代码 因为不解密的话 我添加的逻辑代码很容易被替换掉b5207d904bc49e0dc5823659d0850219

---