Bitcoin Forum
April 24, 2024, 10:01:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Please, protect against CSRF  (Read 4282 times)
cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
June 20, 2011, 06:38:03 PM
 #21

why was this moved to offtopic?

Security seems to be about the most on topic discussion of all for bitcoin this week

I did. Suggest a better forum, I'll move it there.
1713996114
Hero Member
*
Offline Offline

Posts: 1713996114

View Profile Personal Message (Offline)

Ignore
1713996114
Reply with quote  #2

1713996114
Report to moderator
1713996114
Hero Member
*
Offline Offline

Posts: 1713996114

View Profile Personal Message (Offline)

Ignore
1713996114
Reply with quote  #2

1713996114
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713996114
Hero Member
*
Offline Offline

Posts: 1713996114

View Profile Personal Message (Offline)

Ignore
1713996114
Reply with quote  #2

1713996114
Report to moderator
1713996114
Hero Member
*
Offline Offline

Posts: 1713996114

View Profile Personal Message (Offline)

Ignore
1713996114
Reply with quote  #2

1713996114
Report to moderator
jrmithdobbs
Newbie
*
Offline Offline

Activity: 67
Merit: 0


View Profile
June 21, 2011, 06:26:51 AM
 #22

why was this moved to offtopic?

Security seems to be about the most on topic discussion of all for bitcoin this week

I did. Suggest a better forum, I'll move it there.

But there's not a clowns forum!

http://www.youtube.com/watch?v=_B0CyOAO8y0
PCRon
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
June 24, 2011, 06:13:47 PM
 #23

Sorry... What is CSRF?
SlipperySlope
Hero Member
*****
Offline Offline

Activity: 686
Merit: 501

Stephen Reed


View Profile
June 24, 2011, 10:11:01 PM
 #24

Sorry... What is CSRF?

I'm writing a set of Java clients for popular exchanges and for the last two days I've been debugging communications with the TradeHill API.  The error message has been ....

    Forbidden 403
   CSRF verification failed. Request aborted.

TradeHill says that they will look into their django server configuration regarding a possible fix that I found on the internet.

CSRF is an acronym for Cross Site Request Fraud, and what the original poster wants is for bitcoin financial web sites to enforce security so that someone else cannot hijack your session with the web site.  CSRF is a protocol in which the server sends to you a certain random token and which your client, e.g. web browser returns to prove that you are the same entity that originally started the session.

For example, TradeHill sends to me the following HTTP header when I perform an HTTP against their API URL at https://api-test.tradehill.com/APIv1/USD/GetBalance ..

Set-Cookie:  csrftoken=35d13f0f2708ee17b0834719b902ad65; Max-Age=31449600; Path=/  <== GENERATED BY TRADEHILL, UNIQUE FOR EACH SESSION

My subsequent API request must specify that token when performing an HTTP POST, e.g. ...

X-CSRFToken: 35d13f0f2708ee17b0834719b902ad65  <== PROVES THAT I ORIGINATED THE SESSION
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!