Jump to content

Security Issue


mmarif4u

Recommended Posts

Hi guys,

I have some q's about secuirty issue with php and mysql.

I have 4 pages where a user comes from 1st page and go through next pages.

i use GET for passing data to other pages and encrypt it using base64_encoding. and then decrypt in the

next page for use.{Is this secure.}

I also use sessions for a valid user, if the user is not coming from 1st page error msg is displayed.

In session in 1st page i save a md5 random key using (1 to 10).Then passing to next pages{Is this secure.}.

For saving data into db i use mysql_real_escape_string for user input to filter then save to db {Is this secure.}

 

Bcoz i want to make my pages,and input from users more secure from maleciuos users.

 

Any other idea will be greatly appreciated...

Waiting for a good response on this security issue.

Thanks.

 

 

Link to comment
https://forums.phpfreaks.com/topic/53505-security-issue/
Share on other sites

Thanks for reply.

1st of all there is no such passwords or credit card number to store, i am just storing user input in GET and

a valid key in session, for next pages.

 

what are comments about this:

 

In session in 1st page i save a md5 random key using (1 to 10).Then passing to next pages{Is this secure.}.

For saving data into db i use mysql_real_escape_string for user input to filter then save to db {Is this secure.}

Link to comment
https://forums.phpfreaks.com/topic/53505-security-issue/#findComment-264466
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.