GithubHelp home page GithubHelp logo

Comments (10)

star7th avatar star7th commented on May 13, 2024

但如果这个用户有些项目是不打算分享出去的,那主页岂不是暴露了所有项目?如果不是非常多项目,还是建议分享几个链接比较好

from showdoc.

star7th avatar star7th commented on May 13, 2024

也许我可以考虑增加一个分享,分享该用户的所有公开项目

from showdoc.

star7th avatar star7th commented on May 13, 2024

再认真思考了下,如果做“该用户的所有公开项目”功能,则容易被人枚举uid来获取所有用户的项目信息。有些人他设置项目为公开是为了方便部分点击链接就可以看,但他并不想被暴露。至少不想暴露项目跟所有者之间的对应关系。

from showdoc.

SmallerPig avatar SmallerPig commented on May 13, 2024

不同意你的观点。

  • 如果怕被使用遍历uid的方法被穷举的所有公开项目的话,那么即使现在也可以遍历整个“项目”的id来把所有公开项目给遍历出来。
  • 至于不想暴露项目所有者跟项目的对应的关系这点就更不是问题了,一般我们在网上写博客或者写的开源代码都会标上作者,为了的就是希望别人知道这是我写的,怕就怕别人不知道原作者是谁。现在度娘上搜出来的很多复制粘贴的文章对原作者来说是多么希望能给他们一个原文链接啊。

from showdoc.

star7th avatar star7th commented on May 13, 2024

已经增加了分享个人主页功能。访客可在用户个人主页看到该用户的所有公开项目。
在你自己的用户主页,点击右上角的按钮便可以看到“分享主页”按钮

from showdoc.

ephen avatar ephen commented on May 13, 2024

新代码部署后,网站首页thinkphp报错,分享个人主页时链接出不来,不知道是哪出了问题呢?

from showdoc.

SmallerPig avatar SmallerPig commented on May 13, 2024

@CinderellaCiCi 打开调试模式,看看具体报错原因!或者到日志文件里看看

from showdoc.

star7th avatar star7th commented on May 13, 2024

配置文件也要更新的

from showdoc.

ephen avatar ephen commented on May 13, 2024

搞定了。但是分享的主页地址打开又出错了。。。〒_〒

from showdoc.

ephen avatar ephen commented on May 13, 2024

ok了。。。
把runtime整个删除更新了下就好了。。

from showdoc.

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.