Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 1999
Posts: 90
Member
Member
Offline
Joined: May 1999
Posts: 90
Well, you could generate an unique hash every time you visit newreply.php, store it in the session (as $confirmkey[$Number]) and also put it into as a hidden var in the newreply page. In addpost, you check if the hash value passed through the page matches the one assigned to the post number you are replying (from session). 'Number' is required since you could be replying from several browser windows and you may need many confirm values in the same time. Anyway, this just crossed my mind and, while looking interesting right now it will probably take me several seconds after hitting the submit button to realise a flaw that renders it unusable []/forum/images/icons/smile.gif[/]


[Edit] Doh! You can make your remote script to fetch the real newreply.php page in order to get a hash and then using it to POST the actual data. I don't see right now any serious protection against posting from remote locations (since changing the referer is trivial anyway).

Last edited by razvan; 03/29/2002 5:00 PM.
Sponsored Links
Entire Thread
Subject Posted By Posted
Same "old" Norton Internet Security 2002 story RTeam 03/29/2002 1:33 PM
Re: Same "old" Norton Internet Security 2002 story Rick 03/29/2002 3:40 PM
Re: Same "old" Norton Internet Security 2002 story JustDave 03/29/2002 5:16 PM
Re: Same "old" Norton Internet Security 2002 story TestPappy 03/29/2002 7:34 PM
Re: Same "old" Norton Internet Security 2002 story razvan 03/29/2002 11:52 PM
Re: Same "old" Norton Internet Security 2002 story Lisa_P 03/30/2002 1:07 AM
Re: Same "old" Norton Internet Security 2002 story RTeam 03/30/2002 1:34 AM
Re: Same "old" Norton Internet Security 2002 story JoshPet 03/30/2002 4:57 AM
Re: Same "old" Norton Internet Security 2002 story Lisa_P 03/30/2002 8:33 AM
Re: Same "old" Norton Internet Security 2002 story RTeam 03/30/2002 4:07 PM
Re: Same "old" Norton Internet Security 2002 story MTO 03/30/2002 6:58 PM
Re: Same "old" Norton Internet Security 2002 story JustDave 03/30/2002 11:18 PM
Re: Same "old" Norton Internet Security 2002 story Lisa_P 04/17/2002 7:13 PM
Re: Same "old" Norton Internet Security 2002 story Lisa_P 04/17/2002 7:30 PM
Re: Same "old" Norton Internet Security 2002 story JustDave 04/17/2002 11:28 PM
Re: Same "old" Norton Internet Security 2002 story Lisa_P 04/17/2002 11:39 PM
Re: Same "old" Norton Internet Security 2002 story JustDave 04/18/2002 12:08 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1841
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 14
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)