Giter Site home page Giter Site logo

Comments (12)

tangly1024 avatar tangly1024 commented on June 21, 2024 1

👏挺有趣的功能提议,我考虑做一个😄

支持文章加密码锁,从而实现分享给指定的人阅读。

from notionnext.

tangly1024 avatar tangly1024 commented on June 21, 2024 1

支持文章加锁,预览地址,示例密码123456:

https://preview.tangly1024.com

image

from notionnext.

txs avatar txs commented on June 21, 2024

應該串登入功能的 api 就可以審核哪些 email 可以看哪些不行。不過這個就要多加登入系統了

from notionnext.

sorabug avatar sorabug commented on June 21, 2024

應該串登入功能的 api 就可以審核哪些 email 可以看哪些不行。不過這個就要多加登入系統了

不用吧,我只需要增加个输入密码查看文章,就是不知道这个静态博客能不能实现,我貌似只在动态博客看到了这种

from notionnext.

txs avatar txs commented on June 21, 2024

from notionnext.

txs avatar txs commented on June 21, 2024

from notionnext.

tangly1024 avatar tangly1024 commented on June 21, 2024

https://github.com/storyofams/next-password-protect

刚看了这个项目,非常有价值。我持续关注的👍🏼

from notionnext.

tangly1024 avatar tangly1024 commented on June 21, 2024

不過如果每篇的都要單獨解鎖,是否可以直接從 notion 有一個 email list 權限欄位

这样相当于整个博客都要上锁了,违背了博客公开分享的初衷。

email list是一种方案,用户用这个邮箱登录后可以访问所有文章。

而我的初步设想是notion加一个password 栏位,这样每篇文章可以指定不同的秘钥。访客需要输入正确的秘钥才允许查看文章详情。

from notionnext.

txs avatar txs commented on June 21, 2024

from notionnext.

sorabug avatar sorabug commented on June 21, 2024

不過如果每篇的都要單獨解鎖,是否可以直接從 notion 有一個 email list 權限欄位

这样相当于整个博客都要上锁了,违背了博客公开分享的初衷。

email list是一种方案,用户用这个邮箱登录后可以访问所有文章。

而我的初步设想是notion加一个password 栏位,这样每篇文章可以指定不同的秘钥。访客需要输入正确的秘钥才允许查看文章详情。
这个和我的想法一样,因为某些文章可能就没法公开,只适合圈子内的人看

from notionnext.

txs avatar txs commented on June 21, 2024

from notionnext.

SkysCrystal avatar SkysCrystal commented on June 21, 2024

對的 但有個問題是 notion 的頁面連結如果被發現了 其實密碼都會是公開的 environment variable 可能比較安全一點

On Thu, Mar 24, 2022 at 3:27 PM Sora @.> wrote: 不過如果每篇的都要單獨解鎖,是否可以直接從 notion 有一個 email list 權限欄位 这样相当于整个博客都要上锁了,违背了博客公开分享的初衷。 email list是一种方案,用户用这个邮箱登录后可以访问所有文章。 而我的初步设想是notion加一个password 栏位,这样每篇文章可以指定不同的秘钥。访客需要输入正确的秘钥才允许查看文章详情。 这个和我的想法一样,因为某些文章可能就没法公开,只适合圈子内的人看 — Reply to this email directly, view it on GitHub <#101 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEHKWPQEJ77KMKGCIKOUQLVBQKP3ANCNFSM5RN4KXHA . You are receiving this because you commented.Message ID: @.>

@tangly1024
就密码安全性方面,我在想能不能提供高级选项,允许用户单独记住页面的密码,手动转换哈希值,在 database 栏目填 password 的哈希值。
在用户进入博客输入密码后,转换成哈希值进行匹配验证(不知道 NextJs 能不能实现这个转换匹配的功能,chatgpt告诉我可以2333)。这样复杂密码的话哈希值暴露应该也不容易破解。

from notionnext.

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.