Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rever configuração de segurança CORS #25

Open
coderabbitai bot opened this issue Nov 25, 2024 · 0 comments
Open

Rever configuração de segurança CORS #25

coderabbitai bot opened this issue Nov 25, 2024 · 0 comments
Assignees

Comments

@coderabbitai
Copy link

coderabbitai bot commented Nov 25, 2024

Conforme discutido no PR #24 (#24), no comentário (#24 (comment)), há considerações de segurança na configuração do CORS que precisam ser abordadas.

  • Uso de '*' em Allow-Origin é excessivamente permissivo. Considere restringir a domínios específicos.
  • O header Allow-Methods deve corresponder aos métodos reais da API.
  • Considere adicionar headers de segurança como CORS-Safelisted-Request-Headers.

Solicitado por @italopessoa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant