简体   繁体   中英

Grid : How to make hub password protected

I am planning to deploy my hub in internet.I want only particular nodes to connect to my hub(Restricting unknown nodes from connecting to my hub).Currently i am doing it in firewall level.Is there any feature in grid level to make hub password protected ie)when nodes connect to a hub they are required to enter a password to connect to hub or any other mechanism through which we can block unknown nodes from connecting to hub

I went through the selenium grid docs couldn't find one

Any help is greatly appreciated

I believe Selenium Grid don't has such option and you may need to write your own method for that.

Using firewall is the better approach.

Refer: Can selenium Grid and Node URLs be used with security? and Security in Selenium 2?

Gridlastic is a good tool that can help you setup firewall with Selenium Grid.

Selenium Grid can be helpful when you want to authenticate the node before running test on them, eg. authentication on Saucelabs by URL.

Also Refer: Can Selenium Grid be configured to require authentication?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM