About networking and API-ies

Hello,

I read on Github that Networking is not possible with pyscript? For scraping or using database or API? Is this only a security problem or (and) tehnical?

In the future can this solve with some hidden elements or encrypting?

Technical, when running your code from a web browser you are limited by what the web browser will let code (WASM / JavaScript) do.

A web browser is never going to let your code open local sockets (which would be required for an ODBC connection) as it would allow malicious actors to compromise (or at least topologically analyze) a users network.

2 Likes