Giter VIP home page Giter VIP logo

Comments (5)

Hackxiaoya avatar Hackxiaoya commented on August 16, 2024

本就不支持根目录加密。

from cuteone.

Hackxiaoya avatar Hackxiaoya commented on August 16, 2024

加密方式是路径为单位,先判断驱动。然后才是路径。不管你驱动里有多个网盘。只要是同目录都加密。

from cuteone.

Hackxiaoya avatar Hackxiaoya commented on August 16, 2024

假设目录为A/B/C 。如果你加密了A。别的都没加密。那么只要进A 就要输入密码。B、C都不需要。除非你给他们也设立了密码。

from cuteone.

littlef0x avatar littlef0x commented on August 16, 2024

本就不支持根目录加密。

实际如果把文件夹一栏留空是可以设置成功的,就是我上面说的情况,写"/"不行,不过也不会报错。个人感觉根目录加密还是有必要的吧,如果文件夹很多又不想暴露在公网上,一个个单独设置会比较麻烦,写进nginx又不方便分享单个文件夹。

假设目录为A/B/C 。如果你加密了A。别的都没加密。那么只要进A 就要输入密码。B、C都不需要。除非你给他们也设立了密码。

测试了一下,确实只有根目录加密的时候才会出现所有子目录都需要输密码的问题,只加密指定文件夹时不会,所以这是一个bug?

from cuteone.

Hackxiaoya avatar Hackxiaoya commented on August 16, 2024

根目录加密是一个比较蠢的办法,如果要加密。直接加密整个模块就好了。。对模块入口加密即可。所以这个大家可以写扩展来支持。我表示我不会去做这个根目录加密的支持了。

from cuteone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.