U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » Skylark reaching "beta" status, first 6 chapters of tutorial available..
Re: Skylark reaching "beta" status, first 6 chapters of tutorial available.. [message #36824 is a reply to message #36822] Mon, 09 July 2012 19:28 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
zsolt wrote on Mon, 09 July 2012 10:03

Thanks Mirek!
Very valuable work.

One note: isn't it a security hole to get session variables using Http::operator[]? I can imagine a situation where user posts something with the name of the session variable, modifying its value.
It can be harmful if the user changes e.g. his/her user id in a web based system this way.


You have got me thinking, but fortunately this is not the case:

HTTP request values are put into shared variable space first, then the session is loaded, overwritting the same variables with session values.

Means: what is set by SessionSet cannot be changed by HTTP request.

OK, one possible issue: User could provide some value before is is created in session and it could have been mistakingly considered a session value...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is U++ compatible with VC++ Express 2012?
Next Topic: Another problem with MT (damn it... :()
Goto Forum:
  


Current Time: Tue Sep 08 15:05:53 GMT+2 2026

Total time taken to generate the page: 0.01559 seconds