Jump to content

help me brainstorm algorthim for to dissallow posting to form


dsaba

Recommended Posts

Hi, I've been thinking a while about this. I have a bunch of experience with posting remotely to forms. I need a way to secure my form on my website from being POSTED too from anywhere other than my own website. Something that cannot be bypassed. There are so many fail attempts/ideas that can be bypassed. Too many to list...

 

So, this is an open thread, if you have an idea describe the method/algorithim. I'll or others will decide if its truly full proof in disallowing anyone from POSTING to from anywhere else other than your form. Anything goes except, HTTPS protocol. Keep in mind I said to disallow people from posting from somewhere else other than your site, and I didn't say to disallow automation. Automation is another thing entirely.

 

It can be a method involving regex, sessions, captchas..whatever..

of course something to do with PHP or JS is preferred...

So anyone up to the challenge?

Let's see if it can be done.

 

keep in mind that:

1. headers can be easily be manipulated

2. cookies can be injected (although values of cookies might not be able to be changed)

Link to comment
Share on other sites

just an idea.

 

1 page

1) generate a md5

2) store that in a hidden field on the page and in the session

 

2 page

compare the two (hidden field and session)

 

1.your idea centers around checking for a session cookie

this can be injected into the header once obtained

2. the html source of the form is not hidden, and your hidden value in the form can be viewed

 

No offense, and thanks for adding your input, this is the point of the thread, there will be many not full proof ideas, but thats the point to finally get one that works... I'm interested in any more ideas.

 

Next..

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.