Skip to content

security

3 articles in this category.

security

How to prevent OpenAi and similar from scraping your blog

If you want to disable OpenAi or similar crawlers from harvesting your data, create a file called robots.txt at the root of your domain. If your domain is health.com, make sure …

Abdur-Rahmaan Janhangeer

Chef

security

Securing Flask: Preventing Open Redirect Vulnerabilities

If your Flask application uses a next parameter to redirect users after login, you might be vulnerable to Open Redirects. This is a subtle but dangerous vulnera…

Abdur-Rahmaan Janhangeer

Chef

security

How to disable csrf protection for particular routes in Flask-wtf

Flask-wtf recommends using @csrf.exempt to disable csrf protection for particular routes as in the case of APIs. Now this is pretty confusing. What does csrf refers to? I…

Abdur-Rahmaan Janhangeer

Chef