Jump to content

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

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.