0

I have project with rooms, where one user can create rooms and others can join, but i want to create private rooms which you can join only by unique link that will receive and send you a creator of this room.How i can implement that?

  • Checkout [How to make unique short URL with Python?](https://stackoverflow.com/questions/1497504/how-to-make-unique-short-url-with-python), especially the later suggestions. – DarrylG Mar 29 '20 at 10:29
  • You can use [secrets.token_urlsafe](https://docs.python.org/3/library/secrets.html#secrets.token_urlsafe) to generate a strong unique url – Hymns For Disco Mar 29 '20 at 10:32
  • Give each room a unique identifier and then use something like that [link](http://example.com/join?roomid=Dxjsaw) and then connect the user by the special ID of the room. – dahan raz Mar 29 '20 at 10:33

0 Answers0