Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. FaceBook Is Toast: Spread some PHP on it.

FaceBook Is Toast: Spread some PHP on it.

Scheduled Pinned Locked Moved The Lounge
phplounge
30 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P PIEBALDconsult

    Riiiight... don't count on achieving the unachievable. Having one access point means all the hackers will focus on that one point.

    N Offline
    N Offline
    newton saber
    wrote on last edited by
    #16

    Proliferation of passwords. They'll never get me because I've got hundreds of them. A different one for every site. I have them all written down in a notebook here at my desk labeled: PASSWORD LOG BOOK -- KEEP OUT!!!

    1 Reply Last reply
    0
    • N newton saber

      Right. Not meaning it is unexpected like, duh...facebook is down why can't I log into facebook... :laugh: More like, uh... Facebook is down and I can't login to another site which has nothing to do with Facebook... except, oh wait... I use facebook OAuth.... Here's why it is unexpected... ... Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider. Because FB is a failure. Use Google or Twitter as your OAuth login provider instead. Ahh...

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #17

      newton.saber wrote:

      Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider.

      That makes sense. :thumbsup:

      There are only 10 types of people in the world, those who understand binary and those who don't.

      N 1 Reply Last reply
      0
      • Z ZurdoDev

        newton.saber wrote:

        Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider.

        That makes sense. :thumbsup:

        There are only 10 types of people in the world, those who understand binary and those who don't.

        N Offline
        N Offline
        newton saber
        wrote on last edited by
        #18

        Everyone offers Oauth too -- as if it is a valid choice: See the CP login: http://newtonsaber.com/images/codeproj/logincp.png[^] And STackOverflow: http://newtonsaber.com/images/codeproj/login2so.png[^] It's nefarious and perfidious!!!

        1 Reply Last reply
        0
        • N newton saber

          Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #19

          Owin is now OLose

          N 1 Reply Last reply
          0
          • P PIEBALDconsult

            Riiiight... don't count on achieving the unachievable. Having one access point means all the hackers will focus on that one point.

            N Offline
            N Offline
            newton saber
            wrote on last edited by
            #20

            PIEBALDconsult wrote:

            Having one access point

            Even CP encourages such behavior. Everyone offers Oauth too -- as if it is a valid choice: See the CP login: http://newtonsaber.com/images/codeproj/logincp.png[^] And STackOverflow: http://newtonsaber.com/images/codeproj/login2so.png[^] It's insidious and perfidious, is it not!?

            1 Reply Last reply
            0
            • L Lost User

              Owin is now OLose

              N Offline
              N Offline
              newton saber
              wrote on last edited by
              #21

              Yes, it is a failed system and the owner/creators should pull it immediately. It must have 100% uptime or it is a failure. Imagine if the key to your car only worked 99.9% of the time! :laugh:

              1 Reply Last reply
              0
              • N newton saber

                Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #22

                newton.saber wrote:

                If you use Facebook as your Social Login at other sites

                Lost me there.

                Wrong is evil and must be defeated. - Jeff Ello

                N 1 Reply Last reply
                0
                • J Jorgen Andersson

                  newton.saber wrote:

                  If you use Facebook as your Social Login at other sites

                  Lost me there.

                  Wrong is evil and must be defeated. - Jeff Ello

                  N Offline
                  N Offline
                  newton saber
                  wrote on last edited by
                  #23

                  You can sign on to CP via OAuth social login: See... (sorry I can't post the image in line) Edit fixed links http://newtonsaber.com/images/codeproj/logincp.png[^] And StackOverflow: http://newtonsaber.com/images/codeproj/login2so.png[^]

                  1 Reply Last reply
                  0
                  • N newton saber

                    I heard the outages mentioned on local radio on Friday. But now today I'm experiencing them. Wonder why there's not more about this out there? Maybe it's a localized problem?

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #24

                    Probably because most FarceBook users who are getting the problem are trying to discuss it the only way they know how...on Farcebook... :laugh:

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    1 Reply Last reply
                    0
                    • N newton saber

                      Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

                      D Offline
                      D Offline
                      den2k88
                      wrote on last edited by
                      #25

                      Frist reason why I do not usually use FB login. The second is that they can peruse through your posts and informations, I once published a strong and politically uncorrect opinion on a site which I visit only sporadically... and found the company I work for written beside my name. Now, of course it didn't happen anything - and I pulled off from "Public" my company's name, but that's bad privacy, other than a single point of access. A single virus or attack or backdoor on one of my devices connected to FB and I would be fried all over the world. Just a big nope. The only problem I have with many passwords is that many sites - Store them in a retrievable way - Do not accept not alfanumeric characters (so no %$&£#@) which of course I use - Are limited in lenght!! My Inusracne company and other sites limit the size of password TO 8 characters maximum.

                      GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                      N 1 Reply Last reply
                      0
                      • Z ZurdoDev

                        newton.saber wrote:

                        Facebook

                        newton.saber wrote:

                        problems

                        newton.saber wrote:

                        Terrible

                        newton.saber wrote:

                        consequences

                        Indeed. :thumbsup:

                        There are only 10 types of people in the world, those who understand binary and those who don't.

                        C Offline
                        C Offline
                        Clodetta del Mar
                        wrote on last edited by
                        #26

                        +5! :thumbsup:

                        1 Reply Last reply
                        0
                        • D den2k88

                          Frist reason why I do not usually use FB login. The second is that they can peruse through your posts and informations, I once published a strong and politically uncorrect opinion on a site which I visit only sporadically... and found the company I work for written beside my name. Now, of course it didn't happen anything - and I pulled off from "Public" my company's name, but that's bad privacy, other than a single point of access. A single virus or attack or backdoor on one of my devices connected to FB and I would be fried all over the world. Just a big nope. The only problem I have with many passwords is that many sites - Store them in a retrievable way - Do not accept not alfanumeric characters (so no %$&£#@) which of course I use - Are limited in lenght!! My Inusracne company and other sites limit the size of password TO 8 characters maximum.

                          GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                          N Offline
                          N Offline
                          newton saber
                          wrote on last edited by
                          #27

                          All great points and I agree. Also, I've found that there are lot of sites which limit the password in different ways. It is as if someone completely backwards on security has designed the system. Oh, wait, I think I've figured out the problem. :)

                          D 1 Reply Last reply
                          0
                          • N newton saber

                            All great points and I agree. Also, I've found that there are lot of sites which limit the password in different ways. It is as if someone completely backwards on security has designed the system. Oh, wait, I think I've figured out the problem. :)

                            D Offline
                            D Offline
                            den2k88
                            wrote on last edited by
                            #28

                            newton.saber wrote:

                            Oh, wait, I think I've figured out the problem.

                            Urgent simple user/pass login screen code plz?

                            GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                            N 1 Reply Last reply
                            0
                            • D den2k88

                              newton.saber wrote:

                              Oh, wait, I think I've figured out the problem.

                              Urgent simple user/pass login screen code plz?

                              GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                              N Offline
                              N Offline
                              newton saber
                              wrote on last edited by
                              #29

                              I haz da codz. Rot-13 should do. https://en.wikipedia.org/wiki/ROT13[^]

                              string EncryptPwd(string clearPwd)
                              {
                              // actually this is a lazy ROT13 which
                              // provides more encryption since no one will ever figure
                              // out the encryption routine. :)
                              string cipherPass = string.Empty;
                              foreach (char c in clearPwd)
                              {

                                cipherPass += Convert.ToChar(c + 13);
                              

                              }
                              return cipherPass;
                              }

                              string DecryptPwd(string cipherPwd)
                              {
                              string clearPass = string.Empty;
                              foreach (char c in cipherPwd)
                              {
                              clearPass += Convert.ToChar(c - 13);
                              }
                              return clearPass;
                              }

                              NOTE: I marked this as joke, but someone will come along and use it for their SUPERSECURE Web Site. :laugh:

                              D 1 Reply Last reply
                              0
                              • N newton saber

                                I haz da codz. Rot-13 should do. https://en.wikipedia.org/wiki/ROT13[^]

                                string EncryptPwd(string clearPwd)
                                {
                                // actually this is a lazy ROT13 which
                                // provides more encryption since no one will ever figure
                                // out the encryption routine. :)
                                string cipherPass = string.Empty;
                                foreach (char c in clearPwd)
                                {

                                  cipherPass += Convert.ToChar(c + 13);
                                

                                }
                                return cipherPass;
                                }

                                string DecryptPwd(string cipherPwd)
                                {
                                string clearPass = string.Empty;
                                foreach (char c in cipherPwd)
                                {
                                clearPass += Convert.ToChar(c - 13);
                                }
                                return clearPass;
                                }

                                NOTE: I marked this as joke, but someone will come along and use it for their SUPERSECURE Web Site. :laugh:

                                D Offline
                                D Offline
                                den2k88
                                wrote on last edited by
                                #30

                                Good grief, I really think my car insurance and the national train service actually use this code. :~

                                GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups