morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.83k stars 585 forks source link

Add content restricted to private channels #344

Open mahmood601 opened 2 months ago

mahmood601 commented 2 months ago

I have a private channel and the content is restricted on it But if someone is using telegram web releases, he can access it, download and screenshot any thing Is there any suggestions or ways to protect my content?🤔

andrigamerita commented 2 months ago

@mahmood601 I have just tested, but with the current version of WebK it's just partially true that you can download anything. Only binary files or documents are downloadable, because they otherwise wouldn't be useful at all, since Telegram itself doesn't open them. However, media files (tested with videos and photos, should apply to audio also) are NOT downloadable, because they can be played in the chat. Text, likewise, cannot be directly copied, and the protection for that is very thorough, even checking for browser copy events and blocking them (but, it should be said, text can be copied if dragged with a mouse to another browser tab or system window, but as far as I know that can't be blocked). It's also true that, like you're saying, restricted chats are able to be screenshotted... but this is not something Telegram WebK can solve: browsers don't offer websites any API to detect or block screenshots, so the Telegram Web app has literally no idea of if someone takes a screenshot. In this regard, Telegram WebK already does all that it can do, and is on-par with Telegram Desktop.

As for tips: I would suggest that you try to be mindful of what you post, and avoid sharing anything that would make your day bad if it were to be distributed outside of your channel. Ban any users that you have proof copy your content or share it around with malicious intent. Besides, even the few protections already implemented in WebK can be bypassed by savyy users that simply install userscripts in their browser, while non-savyy ones are already unlikely to be using Telegram Web in place of native clients, in my experience.

mahmood601 commented 2 months ago

I will do that. I wish drm tech was simpler and cheaper. It will be a good solution 😔 Thanks ❤️