Giter Site home page Giter Site logo

Comments (6)

DarkiT avatar DarkiT commented on May 20, 2024 4

对的,最好是每个主机都能生成一个特定的url,打开就能直接进入主机,url能像网盘分享那样设置实效性。然后最好能提供一个获取这些临时Url的接口,这样就可以和其他的软件一起整合了。感觉你这个还是蛮好用的。

from next-terminal.

dushixiang avatar dushixiang commented on May 20, 2024

你的意思是分享一个URL地址,别人打开就能访问主机是吗?

from next-terminal.

sungmee avatar sungmee commented on May 20, 2024

应该有部分用户也有这个需求,期待增量。

from next-terminal.

kenser avatar kenser commented on May 20, 2024

想什么呢,就算能生成这种链接,也不能让所有人都能打开。登陆者身份怎么确定?随机URL以为别人猜不到是吗,只要别人能访问到就能进来,网络链路中要是抓到你的URL了权限等于白送。

from next-terminal.

sshuangliu avatar sshuangliu commented on May 20, 2024

想什么呢,就算能生成这种链接,也不能让所有人都能打开。登陆者身份怎么确定?随机URL以为别人猜不到是吗,只要别人能访问到就能进来,网络链路中要是抓到你的URL了权限等于白送。

这种url接口的访问可以通过token认证,token在主页手动生成,点击url后,发post包含token和要连接的主机信息(可以不带登username password信息),然后就会打开next-terminal的连接页面,然后你手动输入认证信息,当然如果你post带了认证信息,就直接登陆。

这是一个很通常的做法,就是放出了一个api调用而已,可以很方便的和其他资产管理系统结合,例如在资产下面弄个超链接,点击就web登录了

from next-terminal.

medzeus2 avatar medzeus2 commented on May 20, 2024

+1,非常同意,比如 可以采用OAuth2协议进行集成,提供一个接口获取令牌,有这个令牌 可以创建一次性会话,刷新后 就失效。

from next-terminal.

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.