Using $_SESSIONS/COOKIES? Maybe u shud read this first.

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

49 replies · 2,572 views · started 17 years ago · 1 min read

TL;DR · summary of 49 replies
  • CSRF works when an attacker tricks a user into making a request that the victim trusts, containing their session/cookie id.
  • To protect against CSRF attacks, using $_SESSIONS or cookies is not sufficient; additional measures like checking for unique values in cookies and ensuring commands are visible client-side can help mitigate risks.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

9 participants
ranzit2 Developer · 187 posts #21

kiLLeR-eyEd_14 wrote: but the one i've done is more sticky..i changed filenames and other actions..

it all depend on our brain.the more u think hard the more ideas come:-)

she is beautifull than php.and i love her more than php.

kiLLeR-eyEd_14 Senior · 382 posts #22

i don't know..this is enough..show me first that u can hack me, then that wud only be the time i will believe u..lol..prove first all what u'r saying to me..stop giving just an opinion..others here are just giving words came from google but they can't prove it..roflmao

CreativityKills Lead · 833 posts #23

Urls are easy, ever heard ov baidu spider? Robots.txt dnt stop it. Why wud i wana do dat? Anyway, i just thot u shud knw, if u feel ur site is secure enuf kudos, u'll find out for sure when ur site starts getting more dan 30online and haters. And ori, dat wnt work cuz the cookie would have bin set on d victims browser.

kiLLeR-eyEd_14 Senior · 382 posts #24

mobileGIGS wrote: Urls are easy, ever heard ov baidu spider? Robots.txt dnt stop it. Why wud i wana do dat? Anyway, i just thot u shud knw, if u feel ur site is secure enuf kudos, u'll find out for sure when ur site starts getting more dan 30online and haters. And ori, dat wnt work cuz the cookie would have bin set on d victims browser.

ok..still thanks for ur aim with this topic..

xcoderx Junior · 43 posts #25

Whats ur site killer eyed?.

CreativityKills Lead · 833 posts #26

Yo whats d htaccess mod_rewrite u use anyway, may consider it for my 5.0 script. Already have htaccess code for neat personal wapsites urls and i just have to edit it. . .lets just say im lazy dis week.

kiLLeR-eyEd_14 Senior · 382 posts #27

mobileGIGS wrote: Yo whats d htaccess mod_rewrite u use anyway, may consider it for my 5.0 script. Already have htaccess code for neat personal wapsites urls and i just have to edit it. . .lets just say im lazy dis week.

just search for it in google.,

koizumi Developer · 81 posts #28

kiLLeR-eyEd_14 wrote: just search for it in google.,

i think he is asking about the exact type of mod_rewrite that u used in your site.. well google cant answer that.. lol..

ori Lead · 512 posts #29

i just thought that lol

CreativityKills Lead · 833 posts #30

U Knw wat neva mind, u can keep it. i'll slap myself off fatigue and make my own. Just sum regular expression n im there anyway.

kiLLeR-eyEd_14 Senior · 382 posts #31

koizumi wrote: i think he is asking about the exact type of mod_rewrite that u used in your site.. well google cant answer that.. lol..

lol.,everything i want to know if i can't see it here is from google..The mod_rewrite i used was came from google..it's on the way how u search for it..Just be wise on searching and try and try 'til u get it working..

riderz Lead · 975 posts #32

mod_rewrite generator V1.0 i found this site but when i type in the long url and add it after it made small to my htaccess nothing happen what must i do then must i change anything on my site


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

kiLLeR-eyEd_14 Senior · 382 posts #33

Tuturo ko na nga, kht ayoko sna..Haiz..

+FollowSymlinks
RewriteEngine on
RewriteRule ^photo-uploader /gallery?action=upload [NC]

so simple..if this doesn't work..don't ask me again..ok?maybe the problem is on ur server..ryt?so, when u go to ursite.com/photo-uploader u'll be redirected to ursite.com/gallery?action=upload..just analyze it..and the url that u can see at the address bar wud still ursite.com/photo-uploader..ofcourse, that's shud be d one to link..

riderz Lead · 975 posts #34

damn when i add the code to htaccess file it give me internal error on the server that sucks


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

koizumi Developer · 81 posts #35

lol.. u dont get it mate, he is not asking "HOW" to use mod_rewrite, since tutorials are everywhere.. what he is asking is the actual type of mod_rewrite u used, you see mod_rewrite comes in different flavors/how you used it, since uve used it on a lava script and mgigs is also a lava, its logical to ask for the actual mod_rewrite u used..

CreativityKills Lead · 833 posts #36

koizumi wrote: lol.. u dont get it mate, he is not asking "HOW" to use mod_rewrite, since tutorials are everywhere.. what he is asking is the actual type of mod_rewrite u used, you see mod_rewrite comes in different flavors/how you used it, since uve used it on a lava script and mgigs is also a lava, its logical to ask for the actual mod_rewrite u used..

mgigs isnt lava. The one i released is yes, and the one running nw has parts (useful functions only) ov it bt d one i havent uploaded is 4rm scratch. How many lava scripts have a real web version running on AJAX?? Unless sum1 has a mod wit web (nt jus sum mobile xhtml methos luk alike) im talkin real web then shh.

koizumi Developer · 81 posts #37

mobileGIGS wrote: mgigs isnt lava. The one i released is yes, and the one running nw has parts (useful functions only) ov it bt d one i havent uploaded is 4rm scratch. How many lava scripts have a real web version running on AJAX?? Unless sum1 has a mod wit web (nt jus sum mobile xhtml methos luk alike) im talkin real web then shh.

none of us know about your web version.. all i know of is your mgbeta, and by the looks of it, its core is lava(which is, your testing now a mod_rewrite on, but it looks like your host doesnt support it).. btw, thats not the point now, is it? this topic is not about lava or not.. lol..

CreativityKills Lead · 833 posts #38

Thats wer ur wrng, please answer... why wud i beta test a modified script? Hi5 and bebo ave almst same layouts n features does it make it d same codes? Hell, hw many functions wer built by d lava script? Did they copyright d names of the lil db functions too? Does using the idea of lava to make a site make it a mod? Doesnt byethost(which suck to run live sites) support htaccess? Will u shut up if i upload a screenshot of my scripts web n mobile version or will u say its a facebuk clone? Does addin twitter and fb api make it a lava mod?? Oh Please.

CreativityKills Lead · 833 posts #39

And about the errors, byethosts bin f--ing up, i didnt even edit d script as i do all dat fixin and updating on my localhost. Just nid em 4 testin, my domains stil parked 4 nw.

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close