mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

354K
active users

#API

64 posts56 participants8 posts today

[Перевод] API Security Best Practices

Данная публикация - перевод серии постов Хассена Бельгасема - API Security Best Practices. Статья о том, как обеспечить безопасность API. API стал одним из фундаментальных элементов мобильных и веб-приложений, обеспечивая бесшовную коммуникацию между различными системами и сервисами. Однако, увеличение зависимости от API также сделало их популярной целью для кибератак, что ставит под угрозу конфиденциальные данные и бизнес-операции. Поэтому нам необходима всесторонняя стратегия многоуровневой защиты, включающая в себя реализацию нескольких уровней защиты для обеспечения безопасности API. Эта стратегия должна охватывать такие аспекты, как контроль доступа, аутентификацию, авторизацию, проверку входных данных (валидацию данных), фильтрацию выходных данных и непрерывную интеграция.

habr.com/ru/articles/895312/

ХабрAPI Security Best PracticesВведение Данная публикация - перевод серии постов Хассена Бельгасема - API Security Best Practices. Статья о том, как обеспечить безопасность API. API стал одним из фундаментальных элементов мобильных...

First of all, I moved instance! I am now self hosting my own #gotosocial instance, which uses the #Mastodon #API, but is easy to self host, and is super chill on the resources. This also means that I can now post long form content! 5000 characters is a blog post in itself, so I can blog AND microblog.

Secondly, I released 1.1.1 of the #alectors library for #nlproc with #rl. I should probably start keeping a changelog or a release log, but I am just getting to grips with what #semver is and how to use it in general. As always you can find the source code at https://erga.apotheke.earth/aethrvmn/alectors which is yet another #selfhosted project, a git #forgejo.

Summary card of repository aethrvmn/alectors
apothēke: a collection of projectsalectorsPython library for transformer-based reinforcement learning agents (alectors) to hopefully learn to use natural language
Continued thread

another part of my day job involves working around systems designed to prevent mass AI-driven scraping, because humans and well-behaved query scripts are accidentally caught up in all the war-of-the-scrapers, because Cloudflare etc are offering what seems to management to be a magic bullet, and putting the bluntest of tools in front of anywhere that needs to be public, including APIs.
#scraping #api

Part of my day job involves using APIs to retrieve public data from third party public websites, some of which were never designed to publish raw data, so I tread lightly, no more than a human-driven query.
Part of my day job is preventing third party machines from hammering servers I run by incessant mass scraping - hundreds of thousands of ridiculous requests humans would never do or want (typically that's AI-driven scraping that doesn't abide by robots.txt).
I feel conflicted.
#scraping #api