inherit
RIP- Proboards Legend
39218
Conquester777 Conquester777
0
Oct 11, 2005 6:36:29 GMT -8
Conquester777
CirclesAreFun
4,008
March 2005
cq777
|
Post by Conquester777 on Jul 27, 2005 17:33:40 GMT -8
|
|
inherit
EXOH
27575
0
Nov 12, 2007 22:40:30 GMT -8
J. Meeter
i do my crosswords in pen
8,249
July 2004
modernxxromance
|
Post by J. Meeter on Jul 27, 2005 18:03:05 GMT -8
|
|
squalleh
inherit
-149312
0
Dec 2, 2024 13:08:48 GMT -8
squalleh
0
January 1970
GUEST
|
Post by squalleh on Jul 28, 2005 5:00:13 GMT -8
Turn of Register Globals, first of all. That'll eliminate a nice percentage of the security risk. With Register Globals enabled people could easily inject information that is unwanted into your forms. Also, don't simply include whatever is in the HTTP POST. Check it for some validity. As it currently stands, somebody could include a malicious file, which could exploit and attack your host. So, you don't want that to be allowed. Make an array containing every page you want recognized. Then check the HTTP POST against that array. If such a file is requested, and it happens to be in the array, allow it. At least, that's one such way of doing this. Another is to set up a Select Case statement, to include a certain file depending on the HTTP POST, and then a default file if nothing is matched. There are plenty of ways.
|
|
inherit
RIP- Proboards Legend
39218
Conquester777 Conquester777
0
Oct 11, 2005 6:36:29 GMT -8
Conquester777
CirclesAreFun
4,008
March 2005
cq777
|
Post by Conquester777 on Jul 28, 2005 23:14:48 GMT -8
i think ill choose the array method, it's very easy.
why would any body use that select case stuff? it seems like a waste of time to me, a bit clunky. kinda like making a new function when you're only using the function in one place.
and what does turning off Register Globals do exactly?
|
|
inherit
EXOH
27575
0
Nov 12, 2007 22:40:30 GMT -8
J. Meeter
i do my crosswords in pen
8,249
July 2004
modernxxromance
|
Post by J. Meeter on Jul 29, 2005 20:53:02 GMT -8
Turn of Register Globals, first of all. That'll eliminate a nice percentage of the security risk. With Register Globals enabled people could easily inject information that is unwanted into your forms. Doesn't that depend on whether you're using GET or POST?
|
|
inherit
RIP- Proboards Legend
39218
Conquester777 Conquester777
0
Oct 11, 2005 6:36:29 GMT -8
Conquester777
CirclesAreFun
4,008
March 2005
cq777
|
Post by Conquester777 on Jul 30, 2005 0:14:36 GMT -8
why does using GET, reduce security?
|
|