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

Disable CORS by default #281

Closed
kumavis opened this issue Feb 1, 2015 · 6 comments
Closed

Disable CORS by default #281

kumavis opened this issue Feb 1, 2015 · 6 comments

Comments

@kumavis
Copy link
Member

kumavis commented Feb 1, 2015

CORS support is necessary to access from the browser. However, it exposes the rpc to any website you visit. This is a security risk.

@tgerring
Copy link
Contributor

Relates to #331

@frozeman
Copy link
Contributor

I agree, when we release, the CORS headers should only allow localhost connections (for development and swarm dapp).

@obscuren
Copy link
Contributor

CORS will be enabled in Mist by default. CORS will be disabled in the CLI by default. The CORS header will be settable through a command line flag

#394

@frozeman
Copy link
Contributor

Though CORS are no real security, as its only enforced by the browser the user uses.

@kumavis
Copy link
Member Author

kumavis commented Feb 26, 2015

@frozeman yes good point

@tgerring
Copy link
Contributor

Superseded by #394

prestonvanloon added a commit to prestonvanloon/go-ethereum that referenced this issue Jul 15, 2018
ngtuna pushed a commit to ngtuna/tomochain that referenced this issue Nov 14, 2018
…idation

fix error double validation : M2 don't validate body,state,.. before verify block
AusIV pushed a commit to NoteGio/go-ethereum that referenced this issue Feb 22, 2021
cmd/utils/flags: better help text for `—ethash.dagdir`
maoueh pushed a commit to streamingfast/go-ethereum that referenced this issue May 3, 2022
weiihann pushed a commit to weiihann/go-ethereum that referenced this issue Nov 30, 2023
maoueh pushed a commit to streamingfast/go-ethereum that referenced this issue Mar 29, 2024
…mponents

Add components that geth backend has in arbitrum's backend
jsvisa pushed a commit to jsvisa/go-ethereum that referenced this issue Jan 8, 2025
* feat(beacon): introduce soft blocks

* feat: update api.go

* chore(ci): update CI

* feat: update L1Origin

* feat: update `verifyHeader`

* test: update tests

* feat: update consensus

* feat: update consensus

* feat: update genesis

* feat: remove timestamp check in prepareWork

* feat: merge changes in ethereum#281

* Update eth/catalyst/api.go

Co-authored-by: maskpp <[email protected]>

* Update internal/ethapi/taiko_preconf.go

Co-authored-by: maskpp <[email protected]>

* fix consensus test

* revert commit f1df58

* fix consensus test (ethereum#349)

* Update eth/catalyst/api.go

Co-authored-by: maskpp <[email protected]>

* feat: add back timestamp check in worker

* add genesis

* temp fix for old l1origin

* nil value

* feat: rename to `L1OriginLegacy`

* feat: change `common.Big0` as the default value for legacy l1Origin, to make `IsSoftblock` return `false`

* feat(beacon): change the reorg log level (ethereum#350)

* use debug log level to avoid logging too many logs when frequently soft block reorg.

* use debug log level to avoid logging too many logs when frequently soft block reorg.

* feat: check --taiko flag

---------

Co-authored-by: David <[email protected]>

* add rlp optional flag (ethereum#353)

* fix lint

* fix test case

* feat(l1Origin): remove the reverted l1Origins (ethereum#355)

* remove the reverted l1Origins

* feat: add more comments

---------

Co-authored-by: David <[email protected]>

* only forward txs

* chore: update ci

---------

Co-authored-by: maskpp <[email protected]>
Co-authored-by: Jeffery Walsh <[email protected]>
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

4 participants