How java programing is more secure than PHP..?

by hplindia 7 replies
How java programing is more secure than PHP..? Please tell me anyone
#programming #java #php #programing #secure
Avatar of Unregistered
  • Profile picture of the author bitsnaps
    Hi there,
    I'm java,php programmer and i have been coding more than 7 years now.
    Personally I don't believe on "secure programming language" because security is developer's responsibility no the language, although this last one can provide more security features, this is what people say about java, it is generally characterized as secure language, specially if you build/use frameworks made on top of security layer, php has a lot of frameworks with special security care, but nothing really secure if you set password to admin or 123456
    {{ DiscussionBoard.errors[11034671].message }}
  • Profile picture of the author Rewbert
    As previous posted pointed out, a lot of the responsibility lies on the developer. If an exploit is made it is 999 times out of a 1000 not related to a language-specific flaw, but related to the program itself.
    Don't look for flaws in the programming language, look for flaws in the code you write.

    Also, Java and PHP are two very different languages, used for vastly different purposes. It's hard to compare one to the other.

    {{ DiscussionBoard.errors[11035876].message }}
    • Profile picture of the author DavieVBanks
      Originally Posted by Rewbert View Post

      Also, Java and PHP are two very different languages, used for vastly different purposes. It's hard to compare one to the other.

      As Robert states they are two very different languages. PHP is a server-side scripting language designed primarily for web development. While Java is a general-purpose computer programming language that is concurrent, class-based, and specifically designed to have as few implementation dependencies as possible. It is intended to allow application developers to write once and run anywhere. In other words you can build stand alone applications that with the java virtual machine can run on practically any operating system.

      Yes Php and Java are not like comparing apples to oranges. But like Apples to Potatoes. LOL
      {{ DiscussionBoard.errors[11050120].message }}
  • Profile picture of the author JohnAdam1
    Any language can be used to create a project. Whether it is java, PHP or .Net. But only developing an application is not enough. The developers have to write additional code to secure the applications from security vulnerabilities like cross-site-scripting, SQL injection and Man-in-the-Middle attack. There are variety of tools in the market that can be used to test the applications for vulnerabilities.
    {{ DiscussionBoard.errors[11036350].message }}
  • Profile picture of the author Tahreem Saeed
    In terms of architecture (i.e., if you do not leave your doors open intentionally), I think Java is the most secure followed by .Net (which simply inherits all Windows related security issues through no fault of its own) and followed by PHP (being an interpreted scripting language leaves a lot of room for security issues).
    Any compiled language (Java, .Net, C, etc.) will always score higher than an interpreted scripting language when it comes to security.

    Creative Designer and Developer !

    {{ DiscussionBoard.errors[11037472].message }}
  • Profile picture of the author brillmindz2011
    Java's security model is intended to help and protect users from hostile programs downloaded from some untrusted resource within a network through sandbox. It allows all the Java programs to run inside the sandbox only and prevents many activities from untrusted resources including reading or writing to the local disk, creating any new process or even loading any new dynamic library while calling a native method.
    {{ DiscussionBoard.errors[11045145].message }}
  • Profile picture of the author timexer
    I was told that PHP is slowly fading out. That's it's not really used as often as is used to be... Maybe because of security ?
    {{ DiscussionBoard.errors[11047302].message }}
Avatar of Unregistered

Trending Topics

  • 99 {{ upvoteCount | shortNum }}

    Warriors .... Warriors.... what would you like to LEARN?

    Good Morning awesome Warriors... I'm happy to announce that The Warrior Forum is planning to create our first COURSE. Yes... Powered by Warrior Wisdom... yeah!! Made at home. But before ... [read more]

  • 83 {{ upvoteCount | shortNum }}

    How I Sold 985 Copies of an Affiliate Offer in 5 Days (Step by Step)

    When I first started online in 2002, it took me a year to sell 985 copies of anything. These days, I can typically do it in the span of a ... [read more]

  • 48 {{ upvoteCount | shortNum }}

    1 Powerful Concept that Grows Your Business

    Connect with people interested in what you have to offer. Mindfully. Versus desperately running from prospect to prospect, or from number to number. This idea sounds simple, and like common ... [read more]

  • 1 {{ upvoteCount | shortNum }}

    I have 5 blogs. Each 900-1100 UV/day

    Hi guys. Quick question. I have 4 blogs. Niches are: education, travel, finance, fitness and health. Each gets traffic for around 900-1100 approximately. I want to sell there ad spaces, ... [read more]

  • 2 {{ upvoteCount | shortNum }}

    Do affiliate niche sites still make money in 2017?

    I know that this concept has been around since the dawn of the internet but does it still work? I am curious. If so is the concept still the same? ... [read more]