Jump to content
MakeWebGames

Recommended Posts

Posted

Hello fellow Makewebgames community, Today, i have been advancing my security skills, so since many people get hacked because of insecure preferences i secured it.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Thanks, i hope to be getting positive comments ;)

Posted

sorry to mention this but it comes up

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/colum/public_html/preferences.php on line 162

 

any ideas what this means?

Posted

Copy paste this exact code, it works fine for me and for someone else testing it, you might have edited it. I'm sorry for not being able to help :(

Posted
There is also no need to use strip_slashes with MRES =P

Kind of has counter effects

But you're learning and it's not to bad =)

 

On input, yes. However on output it's perfectly fine. It will strip slashes from the output.....So you're code won't display slashes everytime ' is used

Posted
Not trying to me 'harsh' here, but this could be alot more secure.

You're right, however, I was talking Redex through a few things....

He's learning, give him a chance to grasp the concept of things

Posted

I know, i was juts simply saying to Redex, it could be more secure, Oh and hers something you could try, Where you have the SHA512, try adding settings for it, so people can change it without searching the code for SHA512 :thumbsup:

Posted

Thanks for all the replies. As i have mentioned in the past, all feedback is welcome whether it is negative or positive since i'm still in the learning process, and it's through mistakes that you learn ;)

Posted

Chris, this is my first time securing preferences, but to note it is also only my 2nd attempt at securing anything ;) . Thanks for the positive feedback though, it's highly appreciated.

Posted

Redex please change the title of your original post to [mccode v2.x] Secured preferences.php [OPINION] because in my opinion it isn't secure in the slightest, i prefer not to pussy foot around and just come out with it because people may use this believing it's secure when it's not.

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.   Paste as plain text instead

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